1
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:
David Rosca 2014-10-07 11:04:31 +02:00
parent 0ccf18053a
commit 6390eb215b

View File

@ -361,6 +361,8 @@ void BrowserWindow::setupMenu()
else {
macMainMenu->setWindow(this);
}
m_mainMenu = macMainMenu;
#else
setMenuBar(new MenuBar(this));