summaryrefslogtreecommitdiff
path: root/src/bookmarks
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/bookmarkmanager.cpp4
-rw-r--r--src/bookmarks/bookmarkmanager.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/bookmarks/bookmarkmanager.cpp b/src/bookmarks/bookmarkmanager.cpp
index 49c697a5..066e0681 100644
--- a/src/bookmarks/bookmarkmanager.cpp
+++ b/src/bookmarks/bookmarkmanager.cpp
@@ -186,11 +186,15 @@ void BookmarkManager::slotBookmarksChanged()
fillBookmarkBar(bookmarkToolBar);
}
}
+
+ // this update about:bookmarks page...
if (rApp->mainWindow()
&& rApp->mainWindow()->currentTab()
&& rApp->mainWindow()->currentTab()->url().toMimeDataString().contains("about:bookmarks")
)
rApp->loadUrl(KUrl("about:bookmarks"), Rekonq::CurrentTab);
+
+ emit bookmarksUpdated();
}
diff --git a/src/bookmarks/bookmarkmanager.h b/src/bookmarks/bookmarkmanager.h
index b00a4b0e..0254b19f 100644
--- a/src/bookmarks/bookmarkmanager.h
+++ b/src/bookmarks/bookmarkmanager.h
@@ -149,6 +149,8 @@ Q_SIGNALS:
*/
void openUrl(const KUrl &, const Rekonq::OpenType &);
+ void bookmarksUpdated();
+
private:
void find(QList<KBookmark> *list, const KBookmark &bookmark, const QString &text);
KBookmark bookmarkForUrl(const KBookmark &bookmark, const KUrl &url);