author | displacer |
Thu, 07 Aug 2008 13:38:24 +0000 | |
changeset 1163 | 5186cf914549 |
parent 1162 | 91bf5e3e558d |
child 1164 | a241f6eb48be |
--- a/QTfrontend/hwform.cpp Thu Aug 07 13:30:09 2008 +0000 +++ b/QTfrontend/hwform.cpp Thu Aug 07 13:38:24 2008 +0000 @@ -133,7 +133,11 @@ void HWForm::onFrontendFullscreen(bool value) { qDebug() << "fullscreen = " << value; - setWindowState(windowState() | (value ? Qt::WindowFullScreen : Qt::WindowNoState)); + if (value) + setWindowState(windowState() | Qt::WindowFullScreen); + else { + setWindowState(windowState() & !Qt::WindowFullScreen); + } } void HWForm::UpdateWeapons()