SDKtool: Fix a warning in test code

Change-Id: I5510295ec0dd631031402ca681b4275f1b4adb83
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-06-18 22:19:16 +02:00
parent d1370824a5
commit a304fb45fc

View File

@@ -165,7 +165,7 @@ bool AddQtOperation::test() const
{ {
QVariantMap map = initializeQtVersions(); QVariantMap map = initializeQtVersions();
if (!map.count() == 1 if (map.count() != 1
|| !map.contains(QLatin1String(VERSION)) || !map.contains(QLatin1String(VERSION))
|| map.value(QLatin1String(VERSION)).toInt() != 1) || map.value(QLatin1String(VERSION)).toInt() != 1)
return false; return false;