mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Fix all compilation issues after enabling QT_DISABLE_DEPRECATED_UP_TO
This commit is contained in:
@ -21,9 +21,10 @@ void TestRegistry::registerTest(QObject* test) {
|
||||
|
||||
int TestRegistry::runTests(int argc, char* argv[]) {
|
||||
int result = 0;
|
||||
foreach(QObject* test, tests_) {
|
||||
result |= QTest::qExec(test, argc, argv);
|
||||
}
|
||||
const auto &tests = tests_;
|
||||
for (auto *test : tests) {
|
||||
result |= QTest::qExec(test, argc, argv);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user