Changeset 61580 in vbox for trunk/src/VBox
- Timestamp:
- Jun 8, 2016 2:31:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp
r61498 r61580 69 69 { 70 70 /* If there is a mini-toolbar: */ 71 if (m_pMiniToolBar && m_pMiniToolBar->isVisible())71 if (m_pMiniToolBar) 72 72 { 73 73 /* Hide mini-toolbar: */ … … 79 79 { 80 80 /* If there is a mini-toolbar: */ 81 if (m_pMiniToolBar && !m_pMiniToolBar->isVisible())81 if (m_pMiniToolBar) 82 82 { 83 83 /* Show mini-toolbar in full-screen mode: */ … … 353 353 354 354 #if defined(VBOX_WS_WIN) || defined(VBOX_WS_X11) 355 # if defined(VBOX_WS_WIN) && QT_VERSION >= 0x050000356 /* On Windows you can't just resize/move Qt5 QWidget to required host-screen357 * because for simple normal QWidget maximum possible window size is limited358 * by the available geometry and Qt5 bumps it out to the main host-screen in359 * such case, need to tell window it will be full-screen without showing it. */360 setWindowState(Qt::WindowFullScreen);361 /* If there is a mini-toolbar: */362 if (m_pMiniToolBar)363 m_pMiniToolBar->setWindowState(Qt::WindowFullScreen);364 # endif /* VBOX_WS_WIN && QT_VERSION >= 0x050000 */365 366 355 /* Set appropriate geometry for window: */ 367 356 resize(workingArea.size());
Note:
See TracChangeset
for help on using the changeset viewer.