diff options
Diffstat (limited to 'src/bookmarks.cpp')
-rw-r--r-- | src/bookmarks.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp index bb2fb162..ab207736 100644 --- a/src/bookmarks.cpp +++ b/src/bookmarks.cpp @@ -120,26 +120,13 @@ BookmarksProvider::BookmarksProvider(KMainWindow* parent) void BookmarksProvider::slotBookmarksChanged(const QString & group) { KBookmarkGroup toolbarGroup = m_manager->toolbar(); -// KBookmarkGroup tb = getToolbar(); // heavy for non cached toolbar version kWarning() << "KBookmarkBar::slotBookmarksChanged( " << group << " )"; if ( toolbarGroup.isNull() ) return; -/* if ( KBookmark::commonParent(group, tb.address()) == group) // Is group a parent of tb.address? - { - */m_bmToolbar->clear(); - provideBmToolbar(m_bmToolbar); -// } -// else -// { -// // Iterate recursively into child menus -// for ( QList<KBookmarkMenu *>::ConstIterator smit = m_lstSubMenus.constBegin(), smend = m_lstSubMenus.constEnd(); -// smit != smend; ++smit ) -// { -// (*smit)->slotBookmarksChanged( group ); -// } -// } + m_bmToolbar->clear(); + provideBmToolbar(m_bmToolbar); } |