equal
deleted
inserted
replaced
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) |