forked from qt-creator/qt-creator
ProjectExplorer: Remove foreach / Q_FOREACH usage
Task-number: QTCREATORBUG-27464 Change-Id: I9a7b21643393852d2904ed25abb876998c543172 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -212,7 +212,7 @@ void JournaldWatcher::handleEntry()
|
||||
if (logEntry.isEmpty())
|
||||
break;
|
||||
|
||||
foreach (const JournaldWatcherPrivate::SubscriberInformation &info, d->m_subscriptions)
|
||||
for (const JournaldWatcherPrivate::SubscriberInformation &info: qAsConst(d->m_subscriptions))
|
||||
info.subscription(logEntry);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user