mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Fix build
This commit is contained in:
parent
3d171275d2
commit
0ff1ebc584
@ -124,13 +124,13 @@ void AdBlockIcon::webPageChanged(WebPage *page)
|
||||
updateState();
|
||||
|
||||
if (m_page) {
|
||||
disconnect(m_page, &QWebEnginePage::urlChanged, this, &AdBlockIcon::updateState);
|
||||
disconnect(m_page.data(), &QWebEnginePage::urlChanged, this, &AdBlockIcon::updateState);
|
||||
}
|
||||
|
||||
m_page = page;
|
||||
|
||||
if (m_page) {
|
||||
connect(m_page, &QWebEnginePage::urlChanged, this, &AdBlockIcon::updateState);
|
||||
connect(m_page.data(), &QWebEnginePage::urlChanged, this, &AdBlockIcon::updateState);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user