1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

BookmarksIcon: Re-check bookmark when page url changes

BUG: 402239
FIXED-In: 3.1.0
This commit is contained in:
David Rosca 2019-03-14 11:34:21 +01:00
parent 1a81c0c821
commit 945b4f7626
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -48,6 +48,9 @@ BookmarksIcon::BookmarksIcon(QWidget* parent)
void BookmarksIcon::setWebView(WebView* view)
{
m_view = view;
connect(view, &WebView::urlChanged, this, [this](const QUrl &url) {
checkBookmark(url);
});
}
void BookmarksIcon::checkBookmark(const QUrl &url, bool forceCheck)