mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-17 15:31:20 +00:00
Fix clazy-range-loop warning
This commit is contained in:
parent
51441cd3c2
commit
c886d3736d
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue