forked from qt-creator/qt-creator
SDKtool: Fix a warning in test code
Change-Id: I5510295ec0dd631031402ca681b4275f1b4adb83 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -165,7 +165,7 @@ bool AddQtOperation::test() const
|
||||
{
|
||||
QVariantMap map = initializeQtVersions();
|
||||
|
||||
if (!map.count() == 1
|
||||
if (map.count() != 1
|
||||
|| !map.contains(QLatin1String(VERSION))
|
||||
|| map.value(QLatin1String(VERSION)).toInt() != 1)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user