mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +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))
|
#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
|
// On Mac OS with QT/cocoa, the menu is not displayed if there is no action
|
||||||
// so we create a temporary one here
|
// so we create a temporary one here
|
||||||
QAction * action = new QAction(menu);
|
QAction * action = new QAction(menuptr);
|
||||||
menu->addAction(action);
|
menu->addAction(action);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user