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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/search/dolphinquery.h') diff --git a/src/search/dolphinquery.h b/src/search/dolphinquery.h index 6893e1855..73429a780 100644 --- a/src/search/dolphinquery.h +++ b/src/search/dolphinquery.h @@ -50,7 +50,7 @@ enum class SearchTool { }; /** @returns whether Baloo is configured to have indexed the @p directory. */ -bool isIndexingEnabledIn(QUrl directory); +bool isIndexingEnabledIn(const QUrl &directory); /** @returns whether Baloo is configured to index file contents. */ bool isContentIndexingEnabled(); -- cgit v1.3.1