Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp	(revision 27420)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp	(revision 27421)
@@ -176,5 +176,5 @@
     UIMainMenuType fMenus = UIMainMenuType_All;
     /* Remove the view menu in the case there is one screen only. */
-    if (session().GetMachine().GetMonitorCount() == 1)
+    if (QApplication::desktop()->numScreens() == 1)
         fMenus = UIMainMenuType(fMenus ^ UIMainMenuType_View);
 #ifdef Q_WS_MAC
Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineWindowSeamless.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineWindowSeamless.cpp	(revision 27420)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/seamless/UIMachineWindowSeamless.cpp	(revision 27421)
@@ -212,5 +212,5 @@
     UIMainMenuType fMenus = UIMainMenuType_All;
     /* Remove the view menu in the case there is one screen only. */
-    if (session().GetMachine().GetMonitorCount() == 1)
+    if (QApplication::desktop()->numScreens() == 1)
         fMenus = UIMainMenuType(fMenus ^ UIMainMenuType_View);
 #ifdef Q_WS_MAC
