Changeset 61585 in vbox for trunk/src/VBox
- Timestamp:
- Jun 8, 2016 3:19:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp
r61583 r61585 23 23 # include <QMenu> 24 24 # include <QTimer> 25 # ifdef VBOX_WS_WIN 26 # if QT_VERSION >= 0x050000 27 # include <QWindow> 28 # endif /* QT_VERSION >= 0x050000 */ 29 # endif /* VBOX_WS_WIN */ 25 30 26 31 /* GUI includes: */ … … 389 394 #elif defined(VBOX_WS_WIN) 390 395 391 /* Set appropriate geometry for window: */ 396 # if QT_VERSION >= 0x050000 397 /* Map window onto required screen: */ 398 windowHandle()->setScreen(qApp->screens().at(iHostScreen)); 399 # endif /* QT_VERSION >= 0x050000 */ 400 /* Set appropriate window size: */ 392 401 resize(workingArea.size()); 402 # if QT_VERSION < 0x050000 403 /* Move window onto required screen: */ 393 404 move(workingArea.topLeft()); 405 # endif /* QT_VERSION < 0x050000 */ 394 406 395 407 /* If there is a mini-toolbar: */ 396 408 if (m_pMiniToolBar) 397 409 { 398 /* Set appropriate geometry for mini-toolbar: */ 410 # if QT_VERSION >= 0x050000 411 /* Map mini-toolbar onto required screen: */ 412 m_pMiniToolBar->windowHandle()->setScreen(qApp->screens().at(iHostScreen)); 413 # endif /* QT_VERSION >= 0x050000 */ 414 /* Set appropriate mini-toolbar size: */ 399 415 m_pMiniToolBar->resize(workingArea.size()); 416 # if QT_VERSION < 0x050000 417 /* Move mini-toolbar onto required screen: */ 400 418 m_pMiniToolBar->move(workingArea.topLeft()); 419 # endif /* QT_VERSION < 0x050000 */ 401 420 } 402 421
Note:
See TracChangeset
for help on using the changeset viewer.