1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

[Crash] Fixed crash in BrowserWindow::event

Closes #1273
This commit is contained in:
nowrep 2014-03-31 10:01:04 +02:00
parent bfe08409b4
commit 5c8afde4d9

View File

@ -108,6 +108,7 @@ BrowserWindow::BrowserWindow(Qz::BrowserWindowType type, const QUrl &startUrl)
, m_sideBarManager(new SideBarManager(this))
, m_statusBarMessage(new StatusBarMessage(this))
, m_useTransparentBackground(false)
, m_hideNavigationTimer(0)
{
setObjectName("mainwindow");
setAttribute(Qt::WA_DeleteOnClose);
@ -1124,7 +1125,10 @@ bool BrowserWindow::event(QEvent* event)
}
#endif
}
m_hideNavigationTimer->stop();
if (m_hideNavigationTimer) {
m_hideNavigationTimer->stop();
}
break;
}