show play panel according to preferences
This commit is contained in:
parent
c068c2634a
commit
e25a8c2599
2 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue