diff options
| author | Méven Car <[email protected]> | 2026-01-22 16:15:09 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-01-22 16:27:11 +0100 |
| commit | 1acd0dfe09a34817d8daf58db2c53b2262eec7b7 (patch) | |
| tree | 94cab48dc8ad7c79c4fed016b8d0935c4e8dc3e5 /src/dolphinviewcontainer.cpp | |
| parent | a403c0c6058d5064b8cc439edb41eb52ae384046 (diff) | |
clang-tidy: avoid copy, use const references
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index ad4f962ee..e69383804 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -796,7 +796,7 @@ void DolphinViewContainer::slotfileMiddleClickActivated(const KFileItem &item) } if (services.length() >= indexOfAppToOpenFileWith + 1) { - auto service = services.at(indexOfAppToOpenFileWith); + const auto &service = services.at(indexOfAppToOpenFileWith); KIO::ApplicationLauncherJob *job = new KIO::ApplicationLauncherJob(service, this); job->setUrls({item.targetUrl()}); |
