mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
* make sure manually set model is not subject of model matching * added convenience member functions to detect manually set models
This commit is contained in:
@@ -120,7 +120,10 @@ namespace BlackMisc
|
||||
void updateMissingParts(const CAircraftModel &model);
|
||||
|
||||
//! Queried model string?
|
||||
bool hasQueriedModelString() const { return this->m_modelType == TypeQueriedFromNetwork && this->hasModelString(); }
|
||||
bool hasQueriedModelString() const;
|
||||
|
||||
//! Model string which was manually set
|
||||
bool hasManuallySetString() const;
|
||||
|
||||
//! Non empty model string
|
||||
bool hasModelString() const { return !m_modelString.isEmpty(); }
|
||||
|
||||
Reference in New Issue
Block a user