mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-04 00:45:46 +08:00
Bug fixes and improvements for PropertyIndex discovered during refs #319, mainly contributing to refs #314
* Start index 10 instead 0 for CValueObject (easier to detect bugs) * Fixed wrong indexes * Asserts in CPropertyIndex * Used Icon instead of QPixpmap with indexes, icons are sortable and have a tooltip * Removed redundant toQVariant methods
This commit is contained in:
@@ -40,13 +40,14 @@ namespace BlackMisc
|
||||
IndexCallsign,
|
||||
IndexVoiceCapabilities,
|
||||
IndexVoiceCapabilitiesString,
|
||||
IndexVoiceCapabilitiesPixmap
|
||||
IndexVoiceCapabilitiesPixmap,
|
||||
IndexVoiceCapabilitiesIcon
|
||||
};
|
||||
|
||||
//! The Capabilities enum
|
||||
enum Capabilities
|
||||
{
|
||||
FsdWithInterimPositions,
|
||||
FsdWithInterimPositions = BlackMisc::CPropertyIndex::GlobalIndexAbuseMode,
|
||||
FsdWithModelDescription,
|
||||
FsdAtisCanBeReceived
|
||||
};
|
||||
@@ -60,7 +61,6 @@ namespace BlackMisc
|
||||
//! Constructor.
|
||||
CClient(const CUser &user) : m_user(user) {}
|
||||
|
||||
|
||||
//! Equal operator ==
|
||||
bool operator ==(const CClient &other) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user