Skip to content

Commit

Permalink
do not init workspace if no UI
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Nov 18, 2014
1 parent 1c0baf4 commit 949eefc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mscore/musescore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4845,9 +4845,11 @@ int main(int argc, char* av[])

genIcons();

if (!converterMode)
if (!MScore::noGui) {
qApp->setWindowIcon(*icons[int(Icons::window_ICON)]);
Workspace::initWorkspace();
Workspace::initWorkspace();
}

mscore = new MuseScore();
mscoreCore = mscore;

Expand Down

0 comments on commit 949eefc

Please sign in to comment.