summaryrefslogtreecommitdiff
path: root/src/manager-lib/intentaminterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/manager-lib/intentaminterface.cpp')
-rw-r--r--src/manager-lib/intentaminterface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manager-lib/intentaminterface.cpp b/src/manager-lib/intentaminterface.cpp
index 28bc19ae..267a6be9 100644
--- a/src/manager-lib/intentaminterface.cpp
+++ b/src/manager-lib/intentaminterface.cpp
@@ -340,7 +340,7 @@ void IntentServerIpcConnection::setReady(Application *application)
IntentServerIpcConnection *IntentServerIpcConnection::find(const QString &appId)
{
- for (auto ipcConnection : qAsConst(s_ipcConnections)) {
+ for (auto ipcConnection : std::as_const(s_ipcConnections)) {
if (ipcConnection->applicationId() == appId)
return ipcConnection;
}
@@ -457,7 +457,7 @@ IntentServerDBusIpcConnection *IntentServerDBusIpcConnection::find(QDBusConnecti
{
QString connectionName = connection.name();
- for (auto ipcConnection : qAsConst(s_ipcConnections)) {
+ for (auto ipcConnection : std::as_const(s_ipcConnections)) {
if (ipcConnection->isInProcess())
continue;
auto dbusIpcConnection = static_cast<IntentServerDBusIpcConnection *>(ipcConnection);