Fix fullscreen bug
authorunc0rr
Sun, 24 May 2009 12:50:11 +0000
changeset 2101 3d2eaaf3b4bf
parent 2100 3193406e2460
child 2102 cae2ca48d8fc
Fix fullscreen bug
QTfrontend/gameuiconfig.cpp
--- a/QTfrontend/gameuiconfig.cpp	Sun May 24 12:44:52 2009 +0000
+++ b/QTfrontend/gameuiconfig.cpp	Sun May 24 12:50:11 2009 +0000
@@ -95,14 +95,14 @@
 
 	setValue("video/frontendeffects", isFrontendEffects());
 
-	bool ffscr=isFrontendFullscreen();
+	bool ffscr = isFrontendFullscreen();
 	setValue("video/frontendfullscreen", ffscr);
 	emit frontendFullscreen(ffscr);
 	if (!ffscr) {
 	  setValue("window/width", Form->width());
 	  setValue("window/height", Form->height());
 	} else {
-	  resizeToConfigValues();
+	  //resizeToConfigValues(); // TODO: why this has been made?
 	}
 
 	setValue("audio/sound", isSoundEnabled());