Commit d1370824 authored by Tobias Hunger's avatar Tobias Hunger

SDKtool: Fix warning in test code

Change-Id: I6b6ce64298f7d937658148a88aa7c0d0fa7b2689
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 6312936c
......@@ -165,7 +165,7 @@ bool AddToolChainOperation::test() const
map = addToolChain(map, QLatin1String("testId"), QLatin1String("name"), QLatin1String("/tmp/test"),
QLatin1String("test-abi"), QLatin1String("test-abi,test-abi2"),
KeyValuePairList() << KeyValuePair(QLatin1String("ExtraKey"), QVariant(QLatin1String("ExtraValue"))));
if (!map.value(QLatin1String(COUNT)).toInt() == 1
if (map.value(QLatin1String(COUNT)).toInt() != 1
|| !map.contains(QString::fromLatin1(PREFIX) + QLatin1Char('0')))
return false;
QVariantMap tcData = map.value(QString::fromLatin1(PREFIX) + QLatin1Char('0')).toMap();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment