# HG changeset patch # User nemo # Date 1355497106 18000 # Node ID c284ea71a4f8fd985a99de53d2766725e775590e # Parent 3240f4500ac1419c99425e7010b51eb6ceb7c04f *sigh* diff -r 3240f4500ac1 -r c284ea71a4f8 QTfrontend/gameuiconfig.cpp --- a/QTfrontend/gameuiconfig.cpp Fri Dec 14 09:53:17 2012 -0500 +++ b/QTfrontend/gameuiconfig.cpp Fri Dec 14 09:58:26 2012 -0500 @@ -192,7 +192,7 @@ // fill 2/3 of the screen desktop const QRect deskSize = QApplication::desktop()->screenGeometry(-1); Form->resize(value("frontend/width", qMin(qMax(deskSize.width()*2/3,800),deskSize.width())).toUInt(), - value("frontend/height", qMax(qMin(deskSize.height()*2/3,600),deskSize.height())).toUInt()); + value("frontend/height", qMin(qMax(deskSize.height()*2/3,600),deskSize.height())).toUInt()); // move the window to the center of the screen QPoint center = QApplication::desktop()->availableGeometry(-1).center();