Changeset 61984 in vbox
- Timestamp:
- Jul 1, 2016 3:12:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.cpp
r61982 r61984 653 653 #elif defined(VBOX_WS_WIN) 654 654 655 switch (m_geometryType) 656 { 657 case GeometryType_Available: 658 { 659 /* Set appropriate window geometry: */ 660 resize(workingArea.size()); 661 move(workingArea.topLeft()); 662 break; 663 } 664 case GeometryType_Full: 665 { 655 666 # if QT_VERSION >= 0x050000 656 /* Map window onto required screen: */657 Assert(iHostScreen < qApp->screens().size());658 windowHandle()->setScreen(qApp->screens().at(iHostScreen));667 /* Map window onto required screen: */ 668 Assert(iHostScreen < qApp->screens().size()); 669 windowHandle()->setScreen(qApp->screens().at(iHostScreen)); 659 670 # endif /* QT_VERSION >= 0x050000 */ 660 /* Set appropriate window size: */661 resize(workingArea.size());671 /* Set appropriate window size: */ 672 resize(workingArea.size()); 662 673 # if QT_VERSION < 0x050000 663 /* Move window onto required screen: */664 move(workingArea.topLeft());674 /* Move window onto required screen: */ 675 move(workingArea.topLeft()); 665 676 # endif /* QT_VERSION < 0x050000 */ 677 break; 678 } 679 } 666 680 667 681 #elif defined(VBOX_WS_X11)
Note:
See TracChangeset
for help on using the changeset viewer.