QTfrontend/game.cpp
branch0.9.19
changeset 8902 a94c074fd483
parent 8629 76a265f3967c
child 8924 13ac59499066
--- a/QTfrontend/game.cpp	Tue Apr 16 19:53:52 2013 +0200
+++ b/QTfrontend/game.cpp	Wed Apr 17 14:57:56 2013 +0200
@@ -306,8 +306,8 @@
             int size = msg.size();
             QString newResolution = QString().append(msg.mid(2)).left(size - 4);
             QStringList wh = newResolution.split('x');
-            config->Form->ui.pageOptions->windowWidthEdit->setText(wh[0]);
-            config->Form->ui.pageOptions->windowHeightEdit->setText(wh[1]);
+            config->Form->ui.pageOptions->windowWidthEdit->setValue(wh[0].toInt());
+            config->Form->ui.pageOptions->windowHeightEdit->setValue(wh[1].toInt());
             break;
         }
         default: