Changeset 61491 in vbox
- Timestamp:
- Jun 6, 2016 12:57:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp
r61490 r61491 353 353 354 354 #if defined(VBOX_WS_WIN) || defined(VBOX_WS_X11) 355 # if defined(VBOX_WS_WIN) && QT_VERSION >= 0x050000 356 /* On Windows you can't just resize/move Qt5 QWidget to required host-screen 357 * because for simple normal QWidget maximum possible window size is limited 358 * by the available geometry and Qt5 bumps it out to the main host-screen in 359 * 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 355 366 /* Set appropriate geometry for window: */ 356 367 resize(workingArea.size());
Note:
See TracChangeset
for help on using the changeset viewer.

