1
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:
David Rosca 2018-01-05 21:54:18 +01:00
parent 3d171275d2
commit 0ff1ebc584

View File

@ -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);
}
}