Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 84f6e516 authored by Laurent Montel's avatar Laurent Montel 😁

it compiles fine without foreach

parent fda1bb4a
......@@ -52,6 +52,7 @@ configure_package_config_file(
......@@ -162,7 +162,7 @@ bool FakeServer::isAllScenarioDone() const
QMutexLocker locker(&m_mutex);
foreach (const QList<QByteArray> &scenario, m_scenarios) {
for (const QList<QByteArray> &scenario : qAsConst(m_scenarios)) {
if (!scenario.isEmpty()) {
qDebug() << scenario;
return false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment