mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
BookmarksIcon: Re-check bookmark when page url changes
BUG: 402239 FIXED-In: 3.1.0
This commit is contained in:
parent
1a81c0c821
commit
945b4f7626
@ -48,6 +48,9 @@ BookmarksIcon::BookmarksIcon(QWidget* parent)
|
|||||||
void BookmarksIcon::setWebView(WebView* view)
|
void BookmarksIcon::setWebView(WebView* view)
|
||||||
{
|
{
|
||||||
m_view = view;
|
m_view = view;
|
||||||
|
connect(view, &WebView::urlChanged, this, [this](const QUrl &url) {
|
||||||
|
checkBookmark(url);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void BookmarksIcon::checkBookmark(const QUrl &url, bool forceCheck)
|
void BookmarksIcon::checkBookmark(const QUrl &url, bool forceCheck)
|
||||||
|
Loading…
Reference in New Issue
Block a user