1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Fix crash when opening target __blank links

Regression from 92b49be0c2

Closes #2335
This commit is contained in:
David Rosca 2017-05-19 09:02:38 +02:00
parent 92b49be0c2
commit bd9a33d6f9

View File

@ -147,7 +147,8 @@ void WebView::setPage(WebPage *page)
}
if (m_page) {
m_page->deleteLater(); // we are the parent, see below
m_page->setView(nullptr);
m_page->deleteLater();
}
m_page = page;