Commit 7f2f55c3 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Revert removal to allow Bookmark tabs as Folders to work

This reverts d0ae5983 which was
mistakenly removed.

FIXED-IN: 19.12.1
parent 5b5ad9f9
......@@ -144,6 +144,18 @@ QString BookmarkHandler::iconForView(ViewProperties *view) const
return {};
QList<KBookmarkOwner::FutureBookmark> BookmarkHandler::currentBookmarkList() const
QList<KBookmarkOwner::FutureBookmark> list;
foreach (ViewProperties *view, _views) {
list << KBookmarkOwner::FutureBookmark(titleForView(view), urlForView(view), iconForView(view));
return list;
bool BookmarkHandler::supportsTabs() const
return true;
......@@ -68,6 +68,7 @@ public:
QString currentTitle() const Q_DECL_OVERRIDE;
QString currentIcon() const Q_DECL_OVERRIDE;
bool enableOption(BookmarkOption option) const Q_DECL_OVERRIDE;
QList<KBookmarkOwner::FutureBookmark> currentBookmarkList() const Q_DECL_OVERRIDE;
bool supportsTabs() const Q_DECL_OVERRIDE;
void openFolderinTabs(const KBookmarkGroup &group) Q_DECL_OVERRIDE;
Supports Markdown
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