X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/a058c64eba30f11bfa87ac097371c04437d0471e..c886d3736d354837ec464f5906e64f1a94558924:/src/global.cpp?ds=inline 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& 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();