┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.h
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2023-12-05 16:46:52 +0100
committerMéven Car <[email protected]>2023-12-14 10:36:58 +0100
commit2aa5477ccfaf9aeb9e0d6241f62da94b08f363ea (patch)
treebd0251907dc6771c388628216babc27099b864aa /src/dolphinpart.h
parentf8380c50ebcf8512e99221f8563c6880f6e39214 (diff)
Dolphin: Remove unused code, fix clazy warnings
Diffstat (limited to 'src/dolphinpart.h')
-rw-r--r--src/dolphinpart.h12
1 files changed, 8 insertions, 4 deletions
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<QUrl> filesToSelect() const
+ {
+ return QList<QUrl>();
+ }
+
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<QUrl> &files);
- QList<QUrl> filesToSelect() const
- {
- return QList<QUrl>();
- } // silence moc
bool eventFilter(QObject *, QEvent *) override;