QTfrontend/hwform.cpp
changeset 5112 4e2ebd8ac298
parent 5095 15dd764b728c
child 5114 a05081bc2769
--- a/QTfrontend/hwform.cpp	Wed Apr 06 00:30:02 2011 +0200
+++ b/QTfrontend/hwform.cpp	Wed Apr 06 11:51:23 2011 +0200
@@ -310,7 +310,7 @@
   if (value)
     setWindowState(windowState() | Qt::WindowFullScreen);
   else {
-    setWindowState(windowState() & !Qt::WindowFullScreen);
+    setWindowState(windowState() & static_cast<int>(!Qt::WindowFullScreen));
   }
 }