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:
parent
92b49be0c2
commit
bd9a33d6f9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user