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:
Klaus Basan
2015-11-25 23:06:14 +01:00
parent 2ee3934cc2
commit a2b413c8e1
15 changed files with 60 additions and 62 deletions

View File

@@ -43,7 +43,7 @@ namespace BlackGui
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *provider) override;
//! Value
const BlackMisc::Aviation::CLivery &getValue() const;
BlackMisc::Aviation::CLivery getValue() const;
//! Value
void setValue(const BlackMisc::Aviation::CLivery &livery);
@@ -72,7 +72,7 @@ namespace BlackGui
private:
QScopedPointer<Ui::CLiveryForm> ui;
mutable BlackMisc::Aviation::CLivery m_livery; //!< object whose values will be overridden
BlackMisc::Aviation::CLivery m_originalLivery; //!< object whose values will be overridden
};
} // ns