summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-05-10 06:51:07 +0200
committerMontel Laurent <[email protected]>2017-05-10 06:51:07 +0200
commit1f95215811930be89302aef7aa3c35427b646ec2 (patch)
treec3750a9e5b16fd26a440969a7ff636bd296e3556
parentf4192147e9a12f1050a6e4ca4c3f727edcecc04b (diff)
port to for(...:...)
-rw-r--r--autotests/loadcategoriesjobtest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/loadcategoriesjobtest.cpp b/autotests/loadcategoriesjobtest.cpp
index bf7b197..c8c67c5 100644
--- a/autotests/loadcategoriesjobtest.cpp
+++ b/autotests/loadcategoriesjobtest.cpp
@@ -225,7 +225,7 @@ void LoadCategoriesJobTest::shouldReadRules()
}
qDebug() << "AFTER";
- Q_FOREACH (const LoggingCategory &cat, customcategories) {
+ for (const LoggingCategory &cat : qAsConst(customcategories)) {
qDebug() << "customcategories cat." << cat.description << " logname" << cat.logName << " enabled " << cat.enabled << "type " << cat.loggingType;
}
}