mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +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 {
|
||||
macMainMenu->setWindow(this);
|
||||
}
|
||||
|
||||
m_mainMenu = macMainMenu;
|
||||
#else
|
||||
setMenuBar(new MenuBar(this));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user