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