mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Mac: Fix crash on startup due to invalid m_mainMenu pointer
Closes #1485
This commit is contained in:
parent
0ccf18053a
commit
6390eb215b
@ -361,6 +361,8 @@ void BrowserWindow::setupMenu()
|
|||||||
else {
|
else {
|
||||||
macMainMenu->setWindow(this);
|
macMainMenu->setWindow(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_mainMenu = macMainMenu;
|
||||||
#else
|
#else
|
||||||
setMenuBar(new MenuBar(this));
|
setMenuBar(new MenuBar(this));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user