mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +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:
@@ -41,7 +41,7 @@ namespace BlackGui
|
||||
~CDistributorForm();
|
||||
|
||||
//! Get value
|
||||
const BlackMisc::Simulation::CDistributor &getValue() const;
|
||||
BlackMisc::Simulation::CDistributor getValue() const;
|
||||
|
||||
//! Validate, empty list means OK
|
||||
BlackMisc::CStatusMessageList validate() const;
|
||||
@@ -74,7 +74,6 @@ namespace BlackGui
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CDistributorForm> ui;
|
||||
mutable BlackMisc::Simulation::CDistributor m_distributor; // object allowing to override values
|
||||
bool m_readOnly = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user