Changeset 27421 in vbox
- Timestamp:
- Mar 16, 2010 5:56:17 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
-
fullscreen/UIMachineWindowFullscreen.cpp (modified) (1 diff)
-
seamless/UIMachineWindowSeamless.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp
r27375 r27421 176 176 UIMainMenuType fMenus = UIMainMenuType_All; 177 177 /* Remove the view menu in the case there is one screen only. */ 178 if ( session().GetMachine().GetMonitorCount() == 1)178 if (QApplication::desktop()->numScreens() == 1) 179 179 fMenus = UIMainMenuType(fMenus ^ UIMainMenuType_View); 180 180 #ifdef Q_WS_MAC -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineWindowSeamless.cpp
r27375 r27421 212 212 UIMainMenuType fMenus = UIMainMenuType_All; 213 213 /* Remove the view menu in the case there is one screen only. */ 214 if ( session().GetMachine().GetMonitorCount() == 1)214 if (QApplication::desktop()->numScreens() == 1) 215 215 fMenus = UIMainMenuType(fMenus ^ UIMainMenuType_View); 216 216 #ifdef Q_WS_MAC
Note:
See TracChangeset
for help on using the changeset viewer.

