Changeset 46835 in vbox
- Timestamp:
- Jun 27, 2013 12:22:20 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/VBoxUtils-darwin.cpp
r42261 r46835 32 32 33 33 #include <Carbon/Carbon.h> 34 35 #if QT_VERSION < 0x04040036 extern void qt_mac_set_menubar_icons(bool b);37 #endif /* QT_VERSION < 0x040400 */38 34 39 35 NativeNSViewRef darwinToNativeView(QWidget *pWidget) … … 183 179 { 184 180 /* No icons in the menu of a mac application. */ 185 #if QT_VERSION < 0x040400186 qt_mac_set_menubar_icons(false);187 #else /* QT_VERSION < 0x040400 */188 /* Available since Qt 4.4 only */189 181 QApplication::instance()->setAttribute(Qt::AA_DontShowIconsInMenus, true); 190 #endif /* QT_VERSION >= 0x040400 */191 182 } 192 183
Note:
See TracChangeset
for help on using the changeset viewer.

