VirtualBox

Changeset 46835 in vbox


Ignore:
Timestamp:
Jun 27, 2013 12:22:20 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Mac host: Removing old Qt4.4 hack for menu/action icons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/VBoxUtils-darwin.cpp

    r42261 r46835  
    3232
    3333#include <Carbon/Carbon.h>
    34 
    35 #if QT_VERSION < 0x040400
    36 extern void qt_mac_set_menubar_icons(bool b);
    37 #endif /* QT_VERSION < 0x040400 */
    3834
    3935NativeNSViewRef darwinToNativeView(QWidget *pWidget)
     
    183179{
    184180    /* No icons in the menu of a mac application. */
    185 #if QT_VERSION < 0x040400
    186     qt_mac_set_menubar_icons(false);
    187 #else /* QT_VERSION < 0x040400 */
    188     /* Available since Qt 4.4 only */
    189181    QApplication::instance()->setAttribute(Qt::AA_DontShowIconsInMenus, true);
    190 #endif /* QT_VERSION >= 0x040400 */
    191182}
    192183
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