mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
parent
5453308571
commit
97a1765b6c
@ -119,8 +119,6 @@ WebPage::WebPage(QObject* parent)
|
||||
|
||||
WebPage::~WebPage()
|
||||
{
|
||||
mApp->plugins()->emitWebPageDeleted(this);
|
||||
|
||||
if (m_runningLoop) {
|
||||
m_runningLoop->exit(1);
|
||||
m_runningLoop = 0;
|
||||
|
@ -92,6 +92,8 @@ WebView::WebView(QWidget* parent)
|
||||
|
||||
WebView::~WebView()
|
||||
{
|
||||
mApp->plugins()->emitWebPageDeleted(m_page);
|
||||
|
||||
WebInspector::unregisterView(this);
|
||||
WebScrollBarManager::instance()->removeWebView(this);
|
||||
}
|
||||
@ -154,6 +156,7 @@ void WebView::setPage(WebPage *page)
|
||||
emit m_page->loadProgress(100);
|
||||
emit m_page->loadFinished(true);
|
||||
}
|
||||
mApp->plugins()->emitWebPageDeleted(m_page);
|
||||
m_page->setView(nullptr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user