mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
parent
5ddd377a0a
commit
ef5d741ba5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user