Commit 1852b6ba authored by Kurt Hindenburg's avatar Kurt Hindenburg

Add note about duplicates in sub-folders

parent befaaa02
......@@ -42,6 +42,7 @@ BookmarkMenu::BookmarkMenu (KBookmarkManager *mgr, KBookmarkOwner *owner, QMenu
void BookmarkMenu::maybeAddBookmark()
// Check for duplicates first
// This only catches duplicates in top-level (ie not sub-folders)
const KBookmarkGroup rootGroup = manager()->root();
const QUrl currUrl = owner()->currentUrl();
for (const QUrl &url : rootGroup.groupUrlList()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment