From: Richard Heck Date: Sun, 25 Feb 2018 22:22:07 +0000 (-0500) Subject: Amend ca4426e5. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3771 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ef5d741ba54501f96021b881a760a35d63b95b6c;p=features.git Amend ca4426e5. Thanks for Patrick De Visschere for noticing. --- diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index 4fa690edec..4fb3ce2227 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -2551,7 +2551,7 @@ void Menus::fillMenuBar(QMenuBar * qmb, GuiView * view, bool initial) #if defined(Q_OS_MAC) && (defined(QT_MAC_USE_COCOA) || (QT_VERSION >= 0x050000)) // On Mac OS with QT/cocoa, the menu is not displayed if there is no action // so we create a temporary one here - QAction * action = new QAction(menu); + QAction * action = new QAction(menuptr); menu->addAction(action); #endif