From c886d3736d354837ec464f5906e64f1a94558924 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Thu, 28 May 2020 22:02:03 +0200 Subject: [PATCH] Fix clazy-range-loop warning --- src/global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global.cpp b/src/global.cpp index 32a2d4ebb0..6a702cf43b 100644 --- a/src/global.cpp +++ b/src/global.cpp @@ -104,7 +104,7 @@ bool Dolphin::attachToExistingInstance(const QList& inputUrls, bool openFi } dolphinInterfaces.front().second << newUrls; - for (const auto& interface: dolphinInterfaces) { + for (const auto& interface: qAsConst(dolphinInterfaces)) { if (!interface.second.isEmpty()) { auto reply = openFiles ? interface.first->openFiles(interface.second, splitView) : interface.first->openDirectories(interface.second, splitView); reply.waitForFinished();