mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
Drop dead code
Spotted by clazy (-Wclazy-const-signal-or-slot). This was added inabf17941f7
, but it became dead code after the KF5 port (possibly afterc725848709
).
This commit is contained in:
parent
a90daf82b6
commit
56b132fff0
|
@ -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();
|
||||
|
@ -104,11 +103,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
|
||||
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue