mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 12:15:29 +08:00
refs #522, consolidate mutable / make mutable thread safe
* removed mutable wherever possible in GUI classes * in vPilotReader also renamed some functions and some minor improvements
This commit is contained in:
@@ -37,7 +37,7 @@ namespace BlackGui
|
||||
~CModelMappingForm();
|
||||
|
||||
//! Value
|
||||
const BlackMisc::Simulation::CAircraftModel &getValue() const;
|
||||
BlackMisc::Simulation::CAircraftModel getValue() const;
|
||||
|
||||
//! Validate
|
||||
BlackMisc::CStatusMessageList validate(bool withNestedForms) const;
|
||||
@@ -58,7 +58,7 @@ namespace BlackGui
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CModelMappingForm> ui;
|
||||
mutable BlackMisc::Simulation::CAircraftModel m_model; //!< cached last value
|
||||
BlackMisc::Simulation::CAircraftModel m_originalModel;
|
||||
};
|
||||
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user