@@ -3140,7 +3140,7 @@ void MainWindow::readSettings()
31403140 std::cout << " [GUI] - reading settings" << std::endl;
31413141
31423142 // 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 ();
31443144 piSettings->show_buttons = gui_settings->value (" prefs/show-buttons" , true ).toBool ();
31453145 piSettings->show_tabs = gui_settings->value (" prefs/show-tabs" , true ).toBool ();
31463146 piSettings->show_log = gui_settings->value (" prefs/show-log" , true ).toBool ();
@@ -3167,7 +3167,7 @@ void MainWindow::readSettings()
31673167 piSettings->show_scope_labels = gui_settings->value (" prefs/scope/show-labels" , false ).toBool ();
31683168 piSettings->show_cues = gui_settings->value (" prefs/show_cues" , true ).toBool ();
31693169 QString styleName = gui_settings->value (" prefs/theme" , " " ).toString ();
3170-
3170+
31713171 piSettings->themeStyle = theme->themeNameToStyle (styleName);
31723172 piSettings->show_autocompletion = gui_settings->value (" prefs/show-autocompletion" , true ).toBool ();
31733173 piSettings->show_context = gui_settings->value (" prefs/show-context" , true ).toBool ();
@@ -3189,11 +3189,11 @@ void MainWindow::restoreScopeState(std::vector<QString> names)
31893189void MainWindow::writeSettings ()
31903190{
31913191 std::cout << " [GUI] - writing settings" << std::endl;
3192-
3192+
31933193 gui_settings->setValue (" pos" , pos ());
31943194 gui_settings->setValue (" size" , size ());
31953195 gui_settings->setValue (" first_time" , 0 );
3196-
3196+
31973197 gui_settings->setValue (" prefs/language" , piSettings->language );
31983198
31993199 gui_settings->setValue (" prefs/midi-default-channel" , piSettings->midi_default_channel );
@@ -3330,6 +3330,7 @@ void MainWindow::onExitCleanup()
33303330 // Shuts down the client/server connection
33313331 m_spAPI->Shutdown ();
33323332 }
3333+ }
33333334
33343335void MainWindow::restartApp () {
33353336 QApplication* app = dynamic_cast <QApplication*>(parent ());
0 commit comments