show play panel according to preferences

This commit is contained in:
lasconic 2015-02-26 14:34:07 +01:00
parent c068c2634a
commit e25a8c2599
2 changed files with 4 additions and 3 deletions

View file

@ -976,8 +976,6 @@ MuseScore::MuseScore()
}
loadScoreList();
showPlayPanel(preferences.showPlayPanel);
QClipboard* cb = QApplication::clipboard();
connect(cb, SIGNAL(dataChanged()), SLOT(clipboardChanged()));
connect(cb, SIGNAL(selectionChanged()), SLOT(clipboardChanged()));
@ -5006,11 +5004,13 @@ int main(int argc, char* av[])
} );
timer->start(500);
#else
getAction("startcenter")->setChecked(true);
mscore->showStartcenter(true);
#endif
}
mscore->showPlayPanel(preferences.showPlayPanel);
return qApp->exec();
}

View file

@ -395,7 +395,6 @@ class MuseScore : public QMainWindow, public MuseScoreCore {
void showPalette(bool);
void showInspector(bool);
void showOmrPanel(bool);
void showPlayPanel(bool);
void showNavigator(bool);
void showMixer(bool);
void showSynthControl(bool);
@ -677,6 +676,8 @@ class MuseScore : public QMainWindow, public MuseScoreCore {
void unregisterPlugin(PluginDescription*);
Q_INVOKABLE void showStartcenter(bool);
void showPlayPanel(bool);
QFileInfoList recentScores() const;
void saveDialogState(const char* name, QFileDialog* d);
void restoreDialogState(const char* name, QFileDialog* d);