diff options
-rw-r--r-- | src/gui/kernel/qapplication_mac.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_mac.mm b/src/gui/kernel/qapplication_mac.mm index 14116c7..b5afcde 100644 --- a/src/gui/kernel/qapplication_mac.mm +++ b/src/gui/kernel/qapplication_mac.mm @@ -226,6 +226,7 @@ extern void qt_mac_update_cursor(); // qcursor_mac.mm void onApplicationWindowChangedActivation( QWidget*widget, bool activated ); void onApplicationChangedActivation( bool activated ); +#ifdef QT_MAC_USE_COCOA void qt_mac_loadMenuNib(QT_MANGLE_NAMESPACE(QCocoaMenuLoader) *qtMenuLoader) { // Create qt_menu.nib dir in temp. @@ -258,7 +259,7 @@ void qt_mac_loadMenuNib(QT_MANGLE_NAMESPACE(QCocoaMenuLoader) *qtMenuLoader) if (!ok) qWarning("qt_mac_loadMenuNib: could not instantiate nib"); } - +#endif static void qt_mac_read_fontsmoothing_settings() { |