QmlJsImport: correct ImportMatchStrength comparison

Change-Id: I9aa775dc23d19e856e38baf9834bedb6903800a9
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Nikolay Shalakin
2017-11-25 13:59:27 +03:00
committed by Eike Ziller
parent 54498da3b4
commit 171adfcfc9

View File

@@ -72,7 +72,7 @@ int ImportMatchStrength::compareMatch(const ImportMatchStrength &o) const
int v2 = o.m_match.at(i);
if (v1 < v2)
return -1;
if (v2 > v1)
if (v1 > v2)
return 1;
}
if (len1 < len2)