Commit 5b5ad9f9 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Revert supportTabs() removal to fix bookmenu issue

This reverts  0995c1dc; it is needed
to allow KBookMarks to know we supports tabs and thus show 'Open
folder in tabs' menu item.

FIXED-IN: 19.12.1
BUG: 415549
parent 2052766d
......@@ -144,6 +144,11 @@ QString BookmarkHandler::iconForView(ViewProperties *view) const
return {};
}
bool BookmarkHandler::supportsTabs() const
{
return true;
}
void BookmarkHandler::setViews(const QList<ViewProperties *> &views)
{
_views = views;
......
......@@ -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;
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