commit ef5d741ba54501f96021b881a760a35d63b95b6c Author: Richard Heck <rgh...@lyx.org> Date: Sun Feb 25 17:22:07 2018 -0500
Amend ca4426e5. Thanks for Patrick De Visschere for noticing. --- src/frontends/qt4/Menus.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index 4fa690e..4fb3ce2 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