diff options
Diffstat (limited to 'src/bookmarks/bookmarkowner.cpp')
-rw-r--r-- | src/bookmarks/bookmarkowner.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bookmarks/bookmarkowner.cpp b/src/bookmarks/bookmarkowner.cpp index c684897e..b7aa4a4e 100644 --- a/src/bookmarks/bookmarkowner.cpp +++ b/src/bookmarks/bookmarkowner.cpp @@ -177,9 +177,10 @@ void BookmarkOwner::openBookmarkInNewWindow(const KBookmark &bookmark) } -void BookmarkOwner::openBookmarkFolder(const KBookmarkGroup &bookmark) +void BookmarkOwner::openBookmarkFolder(const KBookmark &bookmark) { - openFolderinTabs(bookmark); + Q_ASSERT(bookmark.isGroup()); + openFolderinTabs(bookmark.toGroup()); } |