Fix clazy-range-loop warning

This commit is contained in:
Elvis Angelaccio 2020-05-28 22:02:03 +02:00
parent 51441cd3c2
commit c886d3736d

View file

@ -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();