diff options
| author | Elvis Angelaccio <[email protected]> | 2018-02-03 23:34:45 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2018-02-03 23:34:45 +0100 |
| commit | 56b132fff03bfe473df6cae265b59f36bd4e6fe9 (patch) | |
| tree | 466957bcf208638a1f6295c2136bdf1f1e1c61be /src | |
| parent | a90daf82b6a836eb4c579ff4752900cffc63aa3e (diff) | |
Drop dead code
Spotted by clazy (-Wclazy-const-signal-or-slot).
This was added in abf17941f7, but it became dead code after the KF5 port
(possibly after c725848709).
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 01746169b..e81793b0f 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -60,7 +60,6 @@ class DolphinMainWindow: public KXmlGuiWindow { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.kde.dolphin.MainWindow") - Q_PROPERTY(int id READ getId SCRIPTABLE true) public: DolphinMainWindow(); @@ -105,11 +104,6 @@ public slots: void pasteIntoFolder(); /** - * Returns the main window ID used through DBus. - */ - int getId() const; - - /** * Implementation of the MainWindowAdaptor/QDBusAbstractAdaptor interface. * Inform all affected dolphin components (panels, views) of an URL * change. @@ -512,7 +506,6 @@ private: KNewFileMenu* m_newFileMenu; DolphinTabWidget* m_tabWidget; DolphinViewContainer* m_activeViewContainer; - int m_id; DolphinViewActionHandler* m_actionHandler; DolphinRemoteEncoding* m_remoteEncoding; @@ -541,10 +534,5 @@ inline KNewFileMenu* DolphinMainWindow::newFileMenu() const return m_newFileMenu; } -inline int DolphinMainWindow::getId() const -{ - return m_id; -} - #endif // DOLPHIN_MAINWINDOW_H |
