commit aabc20fde8097c531f352e70e2b77483868c7a10
Author: Stephan Witt <[email protected]>
Date:   Mon Oct 20 14:22:13 2014 +0200

    Repeat the Mac menu bar init for Qt5 only on Mac

diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp
index f64c07c..d8f08b4 100644
--- a/src/frontends/qt4/Menus.cpp
+++ b/src/frontends/qt4/Menus.cpp
@@ -2242,7 +2242,7 @@ void Menus::fillMenuBar(QMenuBar * qmb, GuiView * view, 
bool initial)
        } else {
                // Clear all menubar contents before filling it.
                qmb->clear();
-#if (QT_VERSION >= 0x050000)
+#if (QT_VERSION >= 0x050000 && defined(Q_OS_MAC))
                d->macxMenuBarInit(qmb);
 #endif
        }

Reply via email to