┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/global.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2020-05-28 22:02:03 +0200
committerElvis Angelaccio <[email protected]>2020-05-28 22:02:03 +0200
commitc886d3736d354837ec464f5906e64f1a94558924 (patch)
treeb01ef18d3f6f94d9a2a2d8fcffa87adcfe4a2a77 /src/global.cpp
parent51441cd3c2f2c6ffc3dacf97977ba70b8eb98f18 (diff)
Fix clazy-range-loop warning
Diffstat (limited to 'src/global.cpp')
-rw-r--r--src/global.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.cpp b/src/global.cpp
index 32a2d4ebb..6a702cf43 100644
--- a/src/global.cpp
+++ b/src/global.cpp
@@ -104,7 +104,7 @@ bool Dolphin::attachToExistingInstance(const QList<QUrl>& 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();