diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-16 09:43:56 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-16 09:43:56 +0100 |
commit | d92f82b200c2c9098cab32c2d9437ee2cfefa720 (patch) | |
tree | 65907aaf923477fa8363ff28ad8f2fb8959b3214 /src/bookmarks/bookmarksmanager.cpp | |
parent | Fixes focus && let Protocol handler to just load on demand (diff) | |
download | rekonq-d92f82b200c2c9098cab32c2d9437ee2cfefa720.tar.xz |
Removed unuseful check (also if sometimes the bookmark
toolbar let rekonq misteriously crash...)
Diffstat (limited to 'src/bookmarks/bookmarksmanager.cpp')
-rw-r--r-- | src/bookmarks/bookmarksmanager.cpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/bookmarks/bookmarksmanager.cpp b/src/bookmarks/bookmarksmanager.cpp index 3aab08ae..cfe26a55 100644 --- a/src/bookmarks/bookmarksmanager.cpp +++ b/src/bookmarks/bookmarksmanager.cpp @@ -219,16 +219,13 @@ void BookmarkProvider::slotBookmarksChanged(const QString &group, const QString if (toolBarGroup.isNull()) return; - if(m_bookmarkToolBar) - { - m_bookmarkToolBar->clear(); // FIXME CRASH + m_bookmarkToolBar->clear(); // FIXME CRASH - KBookmark bookmark = toolBarGroup.first(); - while (!bookmark.isNull()) - { - m_bookmarkToolBar->addAction(fillBookmarkBar(bookmark)); - bookmark = toolBarGroup.next(bookmark); - } + KBookmark bookmark = toolBarGroup.first(); + while (!bookmark.isNull()) + { + m_bookmarkToolBar->addAction(fillBookmarkBar(bookmark)); + bookmark = toolBarGroup.next(bookmark); } } |