From ef5d741ba54501f96021b881a760a35d63b95b6c Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 25 Feb 2018 17:22:07 -0500 Subject: [PATCH] Amend ca4426e5. Thanks for Patrick De Visschere for noticing. --- src/frontends/qt4/Menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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