diff options
| author | Méven Car <[email protected]> | 2023-09-10 15:19:13 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-09-10 15:19:13 +0200 |
| commit | b58a346be96f7d0973ed96e52c4cf95463ba244d (patch) | |
| tree | 799775ba70d0d9f61f2d400ad1b46227979dec26 /src/global.cpp | |
| parent | 5a7b749f5b524f771c549774de4783f014664135 (diff) | |
Replace qAsConst with std::as_const
Diffstat (limited to 'src/global.cpp')
| -rw-r--r-- | src/global.cpp | 4 |
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; } |
