]> git.lyx.org Git - lyx.git/commitdiff
Repeat the Mac menu bar init for Qt5 only on Mac
authorStephan Witt <switt@lyx.org>
Mon, 20 Oct 2014 12:22:13 +0000 (14:22 +0200)
committerStephan Witt <switt@lyx.org>
Mon, 20 Oct 2014 12:22:45 +0000 (14:22 +0200)
src/frontends/qt4/Menus.cpp

index f64c07c0bfe601b92468b623d7682ce586f007cd..d8f08b46702c195c8bac8f5cc5647b5352827d15 100644 (file)
@@ -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
        }