VirtualBox

Changeset 23026 in vbox


Ignore:
Timestamp:
Sep 15, 2009 9:56:20 AM (15 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: Disable the auto showing/hiding of the Mac OS X menu bar in fullscreen (Works only in Qt >= 4.6 & Qt Cocoa).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r22823 r23026  
    16511651                   + QString(RTBldCfgVersion())
    16521652                   + QString("r")
    1653                    + QString(RTBldCfgRevisionStr()) 
     1653                   + QString(RTBldCfgRevisionStr())
    16541654                   + QString(" - "VBOX_BLEEDING_EDGE);
    16551655#endif
     
    25502550        }
    25512551    else
     2552    {
    25522553        /* Here we are going really fullscreen */
    25532554        setWindowState (windowState() ^ Qt::WindowFullScreen);
     2555# ifdef QT_MAC_USE_COCOA
     2556        /* Disable the auto show menubar feature of Qt in fullscreen. */
     2557        if (aOn)
     2558            SetSystemUIMode (kUIModeAllHidden, 0);
     2559# endif /* QT_MAC_USE_COCOA */
     2560    }
     2561
    25542562# ifndef QT_MAC_USE_COCOA
    25552563    /* Reassign the correct window group. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette