# HG changeset patch # User nemo # Date 1346798453 14400 # Node ID 686ba86ae0e39ab0e8d72026fddec57d56de1115 # Parent 43f38923bc6e60c1599d1ae8015ba9a8fe209f28 retain frontend effects setting exiting/leaving settings diff -r 43f38923bc6e -r 686ba86ae0e3 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());