Commit c886d373 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Fix clazy-range-loop warning

parent 51441cd3
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment