mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
refs #768, misc adjustments
* changed signature of ownAircraftModelChanged to model * added function for a reverse lookup of a model (string->model) and use it when model changed * renamed function to updateByLocalFileNames
This commit is contained in:
committed by
Mathew Sutcliffe
parent
501bea0960
commit
bf8198e2c2
@@ -61,7 +61,7 @@ namespace BlackMisc
|
||||
{
|
||||
TypeUnknown,
|
||||
TypeQueriedFromNetwork, //!< model was queried by network protocol
|
||||
TypeFSInnData, //!< model based on FSD ICAO data
|
||||
TypeFSInnData, //!< model based on FSD ICAO data
|
||||
TypeModelMatching, //!< model is result of model matching
|
||||
TypeModelMatchingDefaultModel, //!< a default model assigned by model matching
|
||||
TypeDatabaseEntry, //!< used along with mapping definition
|
||||
@@ -326,7 +326,7 @@ namespace BlackMisc
|
||||
void normalizeFileNameForDb();
|
||||
|
||||
//! If we have local file names, we use those
|
||||
void updateByLocalFileNames(const CAircraftModel &model);
|
||||
void updateLocalFileNames(const CAircraftModel &model);
|
||||
|
||||
//! Matches model string?
|
||||
bool matchesModelString(const QString &modelString, Qt::CaseSensitivity sensitivity) const;
|
||||
|
||||
Reference in New Issue
Block a user