┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.cpp')
-rw-r--r--src/global.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/global.cpp b/src/global.cpp
index fa2b8e98a..c91046efb 100644
--- a/src/global.cpp
+++ b/src/global.cpp
@@ -75,7 +75,7 @@ bool Dolphin::attachToExistingInstance(const QList<QUrl> &inputUrls,
}
int activeWindowIndex = -1;
- for (const auto &interface : qAsConst(dolphinInterfaces)) {
+ for (const auto &interface : std::as_const(dolphinInterfaces)) {
++activeWindowIndex;
auto isActiveWindowReply = interface.first->isActiveWindow();
@@ -116,7 +116,7 @@ bool Dolphin::attachToExistingInstance(const QList<QUrl> &inputUrls,
}
}
- for (const auto &interface : qAsConst(dolphinInterfaces)) {
+ for (const auto &interface : std::as_const(dolphinInterfaces)) {
if (interface.second.isEmpty()) {
continue;
}