diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-03-22 12:12:33 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-03-22 12:12:33 +0100 |
commit | d660bb0b988760bade3c8f70649709c12530fb67 (patch) | |
tree | 8920dc8053e2a4538a7402375dd360d9f5532fc1 /src/bookmarks.cpp | |
parent | update toolbar when bookmarks change. Yeah.. (diff) | |
download | rekonq-d660bb0b988760bade3c8f70649709c12530fb67.tar.xz |
cleaning code
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); } |