mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
refs #413 Breaking circular dependencies by moving mixin classes from valueobject.h to the files where they fit best:
* DBus mixins moved to dbus.h * Json mixins moved to json.h * Icon mixin moved to icon.h * Comparison mixins moved to compare.h * Hash and string mixins moved to blackmiscfreefunctions.h * Index mixin moved to propertyindexvariantmap.h * MetaType mixins moved to variant.h * registerMetaValueType moved to variant.h * valueobject_private.h renamed to variant_private.h
This commit is contained in:
@@ -76,7 +76,7 @@ namespace BlackMisc
|
||||
switch (i)
|
||||
{
|
||||
case IndexEngines:
|
||||
this->m_engines.setPropertyByIndex(variant, index.copyFrontRemoved());
|
||||
this->m_engines = variant.to<decltype(this->m_engines)>();
|
||||
break;
|
||||
case IndexFlapsPercentage:
|
||||
this->m_flapsPercentage = variant.toInt();
|
||||
|
||||
Reference in New Issue
Block a user