Commit ff9ae284 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove dead code

Summary: The code appears to do nothing.

Test Plan: builds, bookmarkmenu still works

Reviewers: #dolphin, meven, elvisangelaccio

Reviewed By: #dolphin, meven, elvisangelaccio

Subscribers: meven, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D25347
parent e0085fb2
...@@ -54,11 +54,6 @@ DolphinBookmarkHandler::~DolphinBookmarkHandler() ...@@ -54,11 +54,6 @@ DolphinBookmarkHandler::~DolphinBookmarkHandler()
{ {
} }
void DolphinBookmarkHandler::fillControlMenu(QMenu* menu, KActionCollection* collection)
{
m_bookmarkControlMenu.reset(new KBookmarkMenu(m_bookmarkManager, this, menu, collection));
}
QString DolphinBookmarkHandler::currentTitle() const QString DolphinBookmarkHandler::currentTitle() const
{ {
return title(m_mainWindow->activeViewContainer()); return title(m_mainWindow->activeViewContainer());
......
...@@ -36,7 +36,7 @@ class DolphinBookmarkHandler : public QObject, public KBookmarkOwner ...@@ -36,7 +36,7 @@ class DolphinBookmarkHandler : public QObject, public KBookmarkOwner
public: public:
DolphinBookmarkHandler(DolphinMainWindow *mainWindow, KActionCollection *collection, QMenu *menu, QObject *parent); DolphinBookmarkHandler(DolphinMainWindow *mainWindow, KActionCollection *collection, QMenu *menu, QObject *parent);
~DolphinBookmarkHandler() override; ~DolphinBookmarkHandler() override;
void fillControlMenu(QMenu *menu, KActionCollection *collection);
private: private:
QString currentTitle() const override; QString currentTitle() const override;
QUrl currentUrl() const override; QUrl currentUrl() const override;
...@@ -55,7 +55,6 @@ private: ...@@ -55,7 +55,6 @@ private:
DolphinMainWindow* m_mainWindow; DolphinMainWindow* m_mainWindow;
KBookmarkManager *m_bookmarkManager; KBookmarkManager *m_bookmarkManager;
QScopedPointer<KBookmarkMenu> m_bookmarkMenu; QScopedPointer<KBookmarkMenu> m_bookmarkMenu;
QScopedPointer<KBookmarkMenu> m_bookmarkControlMenu;
}; };
#endif // DOLPHINBOOKMARKHANDLER_H #endif // DOLPHINBOOKMARKHANDLER_H
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