QTfrontend/hwform.cpp
changeset 12725 1a393a59a594
parent 12674 8d266b2d0f9c
child 12756 7cbf26454b1f
--- a/QTfrontend/hwform.cpp	Sat Oct 21 00:58:01 2017 +0200
+++ b/QTfrontend/hwform.cpp	Sat Oct 21 01:29:57 2017 +0200
@@ -386,7 +386,7 @@
         setWindowState(windowState() | Qt::WindowFullScreen);
     else
     {
-        setWindowState(windowState() & static_cast<int>(!Qt::WindowFullScreen));
+        setWindowState(windowState() & ~Qt::WindowFullScreen);
     }
 }
 
@@ -1296,7 +1296,7 @@
     {
         case ID_PAGE_INGAME:
             MessageDialog::ShowErrorMessage(errmsg, this);
-            // no break
+            /* fallthrough */
         case ID_PAGE_NETGAME:
             ui.pageNetGame->displayError(errmsg);
             break;