X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/38c34eeca315c7be58e65d4d3fb72aaf7b866719..b0a9907b9cb18e7c1a566f67a90206f067b7eb5e:/src/global.cpp diff --git a/src/global.cpp b/src/global.cpp index 554eb41fa..c91046efb 100644 --- a/src/global.cpp +++ b/src/global.cpp @@ -75,7 +75,7 @@ bool Dolphin::attachToExistingInstance(const QList &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 &inputUrls, } } - for (const auto &interface : qAsConst(dolphinInterfaces)) { + for (const auto &interface : std::as_const(dolphinInterfaces)) { if (interface.second.isEmpty()) { continue; } @@ -198,3 +198,5 @@ void GlobalConfig::updateAnimationDurationFactor(const KConfigGroup &group, cons } double GlobalConfig::s_animationDurationFactor = -1.0; + +#include "moc_global.cpp"