mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
refs #472 Removed static_cast<int> for enums in blackmisc, no longer needed.
This commit is contained in:
@@ -73,6 +73,9 @@ namespace BlackMisc
|
||||
IndexHasQueriedModelString
|
||||
};
|
||||
|
||||
//! \copydoc BlackMisc::CValueObject::registerMetadata
|
||||
static void registerMetadata();
|
||||
|
||||
//! Default constructor.
|
||||
CAircraftModel() {}
|
||||
|
||||
@@ -272,5 +275,7 @@ BLACK_DECLARE_TUPLE_CONVERSION(
|
||||
attr(o.m_modelMode)
|
||||
))
|
||||
Q_DECLARE_METATYPE(BlackMisc::Simulation::CAircraftModel)
|
||||
Q_DECLARE_METATYPE(BlackMisc::Simulation::CAircraftModel::ModelType)
|
||||
Q_DECLARE_METATYPE(BlackMisc::Simulation::CAircraftModel::ModelMode)
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user