From 2aa5477ccfaf9aeb9e0d6241f62da94b08f363ea Mon Sep 17 00:00:00 2001 From: Méven Car Date: Tue, 5 Dec 2023 16:46:52 +0100 Subject: Dolphin: Remove unused code, fix clazy warnings --- src/dolphinpart.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/dolphinpart.h') diff --git a/src/dolphinpart.h b/src/dolphinpart.h index af0acb171..aec427753 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -88,6 +88,14 @@ public: return m_nameFilter; } + /** + * Don't use this. Always @returns an empty list. It only exists to silence moc. + */ + QList filesToSelect() const + { + return QList(); + } + protected: /** * We reimplement openUrl so no need to implement openFile. @@ -214,10 +222,6 @@ private Q_SLOTS: * Called by konqueror --select */ void setFilesToSelect(const QList &files); - QList filesToSelect() const - { - return QList(); - } // silence moc bool eventFilter(QObject *, QEvent *) override; -- cgit v1.3