Temporarily changed autotest behaviour to ignore Qt version

Version past 5.0.0 was checked, but the test failed to compile in that
configuration.
This commit is contained in:
Eckhart Koppen 2011-05-13 17:28:20 +03:00
parent 890d08add4
commit bf6534bad5

View File

@ -715,12 +715,12 @@ void tst_QSet::stlMutableIterator()
QVERIFY(set2.isEmpty());
QVERIFY(set3.isEmpty());
#if QT_VERSION >= 0x050000
i = set2.insert("foo");
#else
// #if QT_VERSION >= 0x050000
// i = set2.insert("foo");
// #else
QSet<QString>::const_iterator k = set2.insert("foo");
i = reinterpret_cast<QSet<QString>::iterator &>(k);
#endif
// #endif
QVERIFY(*i == "foo");
}
}