┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/dolphinquery.cpp
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2026-01-22 16:15:09 +0100
committerMéven Car <[email protected]>2026-01-22 16:27:11 +0100
commit1acd0dfe09a34817d8daf58db2c53b2262eec7b7 (patch)
tree94cab48dc8ad7c79c4fed016b8d0935c4e8dc3e5 /src/search/dolphinquery.cpp
parenta403c0c6058d5064b8cc439edb41eb52ae384046 (diff)
clang-tidy: avoid copy, use const references
Diffstat (limited to 'src/search/dolphinquery.cpp')
-rw-r--r--src/search/dolphinquery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search/dolphinquery.cpp b/src/search/dolphinquery.cpp
index c0967c8de..4b7627846 100644
--- a/src/search/dolphinquery.cpp
+++ b/src/search/dolphinquery.cpp
@@ -35,7 +35,7 @@ bool Search::isSupportedSearchScheme(const QString &urlScheme)
bool g_testMode = false;
-bool Search::isIndexingEnabledIn(QUrl directory)
+bool Search::isIndexingEnabledIn(const QUrl &directory)
{
if (g_testMode) {
return true; // For unit-testing, let's pretend everything is indexed correctly.