]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/global.cpp
GIT_SILENT Sync po/docbooks with svn
[dolphin.git] / src / global.cpp
index fa2b8e98a20fbf7fad3b100d82d3bb7750cd146e..c91046efbfb8765c541fdd4603e3745a7e4fa492 100644 (file)
@@ -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;
         }