mirror of
https://github.com/KDE/konsole.git
synced 2026-05-08 14:46:44 -04:00
Revert removal to allow Bookmark tabs as Folders to work
This reverts d0ae598348 which was
mistakenly removed.
This commit is contained in:
@@ -144,6 +144,19 @@ QString BookmarkHandler::iconForView(ViewProperties *view) const
|
||||
return {};
|
||||
}
|
||||
|
||||
QList<KBookmarkOwner::FutureBookmark> BookmarkHandler::currentBookmarkList() const
|
||||
{
|
||||
QList<KBookmarkOwner::FutureBookmark> list;
|
||||
list.reserve(_views.size());
|
||||
|
||||
const QList<ViewProperties *> views = _views;
|
||||
for (ViewProperties* view : views) {
|
||||
list << KBookmarkOwner::FutureBookmark(titleForView(view), urlForView(view), iconForView(view));
|
||||
}
|
||||
|
||||
return list;
|
||||
}
|
||||
|
||||
bool BookmarkHandler::supportsTabs() const
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user