mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
refs #192, some housekeeping during the JSON introduction
* removed unused tryGet methods for transponder / COM * adjusted unit tests
This commit is contained in:
@@ -177,7 +177,8 @@ bool BlackMisc::equalQVariants(const QVariant &v1, const QVariant &v2)
|
||||
const CValueObject *cs2 = CValueObject::fromQVariant(v2);
|
||||
if (cs1 && cs2)
|
||||
{
|
||||
return compare(*cs1, *cs2) == 0;
|
||||
int c = compare(*cs1, *cs2);
|
||||
return c == 0;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user