mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Ref T280, QHash for aircraft and models and some minor improvements
* CValueObject::comparePropertyByIndex * bool "true" if value has been changed
This commit is contained in:
@@ -191,7 +191,8 @@ namespace BlackMisc
|
||||
case IndexCallsignStringAsSet: return m_callsignAsSet.compare(compareValue.m_callsignAsSet, Qt::CaseInsensitive);
|
||||
case IndexTelephonyDesignator: return m_telephonyDesignator.compare(compareValue.m_telephonyDesignator, Qt::CaseInsensitive);
|
||||
case IndexSuffix: return this->getSuffix().compare(compareValue.getSuffix(), Qt::CaseInsensitive);
|
||||
default: break;
|
||||
default:
|
||||
return CValueObject::comparePropertyByIndex(index, compareValue);
|
||||
}
|
||||
Q_ASSERT_X(false, Q_FUNC_INFO, "Compare failed");
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user