QTfrontend/hwform.cpp
changeset 5112 4e2ebd8ac298
parent 5095 15dd764b728c
child 5114 a05081bc2769
equal deleted inserted replaced
5111:d8856d98ce7d 5112:4e2ebd8ac298
   308 void HWForm::onFrontendFullscreen(bool value)
   308 void HWForm::onFrontendFullscreen(bool value)
   309 {
   309 {
   310   if (value)
   310   if (value)
   311     setWindowState(windowState() | Qt::WindowFullScreen);
   311     setWindowState(windowState() | Qt::WindowFullScreen);
   312   else {
   312   else {
   313     setWindowState(windowState() & !Qt::WindowFullScreen);
   313     setWindowState(windowState() & static_cast<int>(!Qt::WindowFullScreen));
   314   }
   314   }
   315 }
   315 }
   316 
   316 
   317 /*
   317 /*
   318 void HWForm::keyReleaseEvent(QKeyEvent *event)
   318 void HWForm::keyReleaseEvent(QKeyEvent *event)