@@ -3140,7 +3140,7 @@ void MainWindow::readSettings()
3140
3140
std::cout << " [GUI] - reading settings" << std::endl;
3141
3141
3142
3142
// Read in preferences from previous session
3143
- piSettings->language = gui_settings. value (" prefs/language" , " system_language" ).toString ();
3143
+ piSettings->language = gui_settings-> value (" prefs/language" , " system_language" ).toString ();
3144
3144
piSettings->show_buttons = gui_settings->value (" prefs/show-buttons" , true ).toBool ();
3145
3145
piSettings->show_tabs = gui_settings->value (" prefs/show-tabs" , true ).toBool ();
3146
3146
piSettings->show_log = gui_settings->value (" prefs/show-log" , true ).toBool ();
@@ -3167,7 +3167,7 @@ void MainWindow::readSettings()
3167
3167
piSettings->show_scope_labels = gui_settings->value (" prefs/scope/show-labels" , false ).toBool ();
3168
3168
piSettings->show_cues = gui_settings->value (" prefs/show_cues" , true ).toBool ();
3169
3169
QString styleName = gui_settings->value (" prefs/theme" , " " ).toString ();
3170
-
3170
+
3171
3171
piSettings->themeStyle = theme->themeNameToStyle (styleName);
3172
3172
piSettings->show_autocompletion = gui_settings->value (" prefs/show-autocompletion" , true ).toBool ();
3173
3173
piSettings->show_context = gui_settings->value (" prefs/show-context" , true ).toBool ();
@@ -3189,11 +3189,11 @@ void MainWindow::restoreScopeState(std::vector<QString> names)
3189
3189
void MainWindow::writeSettings ()
3190
3190
{
3191
3191
std::cout << " [GUI] - writing settings" << std::endl;
3192
-
3192
+
3193
3193
gui_settings->setValue (" pos" , pos ());
3194
3194
gui_settings->setValue (" size" , size ());
3195
3195
gui_settings->setValue (" first_time" , 0 );
3196
-
3196
+
3197
3197
gui_settings->setValue (" prefs/language" , piSettings->language );
3198
3198
3199
3199
gui_settings->setValue (" prefs/midi-default-channel" , piSettings->midi_default_channel );
@@ -3330,6 +3330,7 @@ void MainWindow::onExitCleanup()
3330
3330
// Shuts down the client/server connection
3331
3331
m_spAPI->Shutdown ();
3332
3332
}
3333
+ }
3333
3334
3334
3335
void MainWindow::restartApp () {
3335
3336
QApplication* app = dynamic_cast <QApplication*>(parent ());
0 commit comments