Codebase list djview4 / 9c73e64
assume qt/cocoa menu workaround will no longer be necessary with qt>=4.5.3 leonb 14 years ago
1 changed file(s) with 6 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
112112 {
113113 // Message handler
114114 qInstallMsgHandler(qtMessageHandler);
115 #if defined(Q_WS_MAC) && defined(QT_MAC_USE_COCOA)
116 extern void qt_mac_set_native_menubar(bool);
117 qt_mac_set_native_menubar(false);
118 #endif
119115
120116 // Locale should not mess with printf
121117 #ifdef LC_NUMERIC
122118 ::setlocale(LC_NUMERIC, "C");
119 #endif
120
121 // Mac/Cocoa bug workaround
122 #if defined(Q_WS_MAC) && defined(QT_MAC_USE_COCOA) && QT_VERSION<0x40503
123 extern void qt_mac_set_native_menubar(bool);
124 qt_mac_set_native_menubar(false);
123125 #endif
124126
125127 // Translators