retain frontend effects setting exiting/leaving settings
authornemo
Tue, 04 Sep 2012 18:40:53 -0400
changeset 7672 686ba86ae0e3
parent 7671 43f38923bc6e
child 7673 e06b83cbde74
retain frontend effects setting exiting/leaving settings
QTfrontend/gameuiconfig.cpp
--- a/QTfrontend/gameuiconfig.cpp	Wed Sep 05 02:17:04 2012 +0400
+++ b/QTfrontend/gameuiconfig.cpp	Tue Sep 04 18:40:53 2012 -0400
@@ -68,7 +68,7 @@
 
     Form->ui.pageOptions->SLQuality->setValue(value("video/quality", 5).toUInt());
     Form->ui.pageOptions->CBStereoMode->setCurrentIndex(value("video/stereo", 0).toUInt());
-    Form->ui.pageOptions->CBFrontendEffects->setChecked(frontendEffects);
+    Form->ui.pageOptions->CBEnableFrontendSound->setChecked(value("frontend/effects", true).toBool());
     Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool());
     Form->ui.pageOptions->CBEnableFrontendSound->setChecked(value("frontend/sound", true).toBool());
     Form->ui.pageOptions->CBEnableMusic->setChecked(value("audio/music", true).toBool());