QTfrontend/game.cpp
branch0.9.19
changeset 8902 a94c074fd483
parent 8629 76a265f3967c
child 8924 13ac59499066
equal deleted inserted replaced
8900:b77fd3c2eec5 8902:a94c074fd483
   304         {
   304         {
   305             // fetch new window resolution via IPC and save it in the settings
   305             // fetch new window resolution via IPC and save it in the settings
   306             int size = msg.size();
   306             int size = msg.size();
   307             QString newResolution = QString().append(msg.mid(2)).left(size - 4);
   307             QString newResolution = QString().append(msg.mid(2)).left(size - 4);
   308             QStringList wh = newResolution.split('x');
   308             QStringList wh = newResolution.split('x');
   309             config->Form->ui.pageOptions->windowWidthEdit->setText(wh[0]);
   309             config->Form->ui.pageOptions->windowWidthEdit->setValue(wh[0].toInt());
   310             config->Form->ui.pageOptions->windowHeightEdit->setText(wh[1]);
   310             config->Form->ui.pageOptions->windowHeightEdit->setValue(wh[1].toInt());
   311             break;
   311             break;
   312         }
   312         }
   313         default:
   313         default:
   314         {
   314         {
   315             if (gameType == gtNet && !netSuspend)
   315             if (gameType == gtNet && !netSuspend)