Changeset 25404 in vbox
- Timestamp:
- Dec 15, 2009 2:01:43 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56031
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r25319 r25404 2832 2832 if (mIsFullscreen) 2833 2833 { 2834 QString testStr = vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_PresentationModeEnabled).toLower(); 2835 /* Default to false if it is an empty value */ 2836 if (testStr.isEmpty() || testStr == "false") 2837 SetSystemUIMode (kUIModeAllHidden, 0); 2838 else 2839 SetSystemUIMode (kUIModeAllSuppressed, 0); 2834 /* First check if we are on the primary screen, only than the 2835 presentation mode have to be changed. */ 2836 QDesktopWidget* pDesktop = QApplication::desktop(); 2837 if (pDesktop->screenNumber(this) == pDesktop->primaryScreen()) 2838 { 2839 QString testStr = vboxGlobal().virtualBox().GetExtraData (VBoxDefs::GUI_PresentationModeEnabled).toLower(); 2840 /* Default to false if it is an empty value */ 2841 if (testStr.isEmpty() || testStr == "false") 2842 SetSystemUIMode (kUIModeAllHidden, 0); 2843 else 2844 SetSystemUIMode (kUIModeAllSuppressed, 0); 2845 } 2840 2846 } 2841 2847 else
Note:
See TracChangeset
for help on using the changeset viewer.