--- a/QTfrontend/gameuiconfig.cpp Fri Feb 20 11:58:58 2009 +0000
+++ b/QTfrontend/gameuiconfig.cpp Fri Feb 20 14:12:16 2009 +0000
@@ -44,6 +44,7 @@
bool ffscr=value("video/frontendfullscreen", false).toBool();
Form->ui.pageOptions->CBFrontendFullscreen->setChecked(ffscr);
+ Form->ui.pageOptions->CBReduceQuality->setChecked(value("video/reducequality", false).toBool());
Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool());
Form->ui.pageOptions->CBEnableMusic->setChecked(value("audio/music", true).toBool());
Form->ui.pageOptions->volumeBox->setValue(value("audio/volume", 100).toUInt());
@@ -88,6 +89,9 @@
{
setValue("video/resolution", Form->ui.pageOptions->CBResolution->currentText());
setValue("video/fullscreen", vid_Fullscreen());
+
+ setValue("video/reducequality", isReducedQuality());
+
bool ffscr=isFrontendFullscreen();
setValue("video/frontendfullscreen", ffscr);
emit frontendFullscreen(ffscr);
@@ -132,6 +136,11 @@
return Form->ui.pageOptions->CBFullscreen->isChecked();
}
+bool GameUIConfig::isReducedQuality() const
+{
+ return Form->ui.pageOptions->CBReduceQuality->isChecked();
+}
+
bool GameUIConfig::isFrontendFullscreen() const
{
return Form->ui.pageOptions->CBFrontendFullscreen->isChecked();