Commit d0ae5983 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Remove currentBookmarkList() - hasn't been used in years

parent 0995c1dc
...@@ -144,18 +144,6 @@ QString BookmarkHandler::iconForView(ViewProperties *view) const ...@@ -144,18 +144,6 @@ QString BookmarkHandler::iconForView(ViewProperties *view) const
return {}; return {};
} }
QList<KBookmarkOwner::FutureBookmark> BookmarkHandler::currentBookmarkList() const
{
QList<KBookmarkOwner::FutureBookmark> list;
list.reserve(_views.size());
foreach (ViewProperties *view, _views) {
list << KBookmarkOwner::FutureBookmark(titleForView(view), urlForView(view), iconForView(view));
}
return list;
}
void BookmarkHandler::setViews(const QList<ViewProperties *> &views) void BookmarkHandler::setViews(const QList<ViewProperties *> &views)
{ {
_views = views; _views = views;
......
...@@ -69,7 +69,6 @@ public: ...@@ -69,7 +69,6 @@ public:
QString currentTitle() const Q_DECL_OVERRIDE; QString currentTitle() const Q_DECL_OVERRIDE;
QString currentIcon() const Q_DECL_OVERRIDE; QString currentIcon() const Q_DECL_OVERRIDE;
bool enableOption(BookmarkOption option) const Q_DECL_OVERRIDE; bool enableOption(BookmarkOption option) const Q_DECL_OVERRIDE;
QList<KBookmarkOwner::FutureBookmark> currentBookmarkList() const Q_DECL_OVERRIDE;
void openFolderinTabs(const KBookmarkGroup &group) Q_DECL_OVERRIDE; void openFolderinTabs(const KBookmarkGroup &group) Q_DECL_OVERRIDE;
/** /**
......
Markdown is supported
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