From 1acd0dfe09a34817d8daf58db2c53b2262eec7b7 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Thu, 22 Jan 2026 16:15:09 +0100 Subject: clang-tidy: avoid copy, use const references --- src/search/dolphinquery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/search/dolphinquery.cpp') 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. -- cgit v1.3