equal
deleted
inserted
replaced
384 { |
384 { |
385 if (value) |
385 if (value) |
386 setWindowState(windowState() | Qt::WindowFullScreen); |
386 setWindowState(windowState() | Qt::WindowFullScreen); |
387 else |
387 else |
388 { |
388 { |
389 setWindowState(windowState() & static_cast<int>(!Qt::WindowFullScreen)); |
389 setWindowState(windowState() & ~Qt::WindowFullScreen); |
390 } |
390 } |
391 } |
391 } |
392 |
392 |
393 void HWForm::onFrontendEffects(bool value) |
393 void HWForm::onFrontendEffects(bool value) |
394 { |
394 { |
1294 { |
1294 { |
1295 switch (ui.Pages->currentIndex()) |
1295 switch (ui.Pages->currentIndex()) |
1296 { |
1296 { |
1297 case ID_PAGE_INGAME: |
1297 case ID_PAGE_INGAME: |
1298 MessageDialog::ShowErrorMessage(errmsg, this); |
1298 MessageDialog::ShowErrorMessage(errmsg, this); |
1299 // no break |
1299 /* fallthrough */ |
1300 case ID_PAGE_NETGAME: |
1300 case ID_PAGE_NETGAME: |
1301 ui.pageNetGame->displayError(errmsg); |
1301 ui.pageNetGame->displayError(errmsg); |
1302 break; |
1302 break; |
1303 default: |
1303 default: |
1304 ui.pageRoomsList->displayError(errmsg); |
1304 ui.pageRoomsList->displayError(errmsg); |