mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #472 Removed static_cast<int> for enums in blackmisc, no longer needed.
This commit is contained in:
@@ -18,6 +18,13 @@ namespace BlackMisc
|
||||
namespace Aviation
|
||||
{
|
||||
|
||||
void CComSystem::registerMetadata()
|
||||
{
|
||||
Mixin::MetaType<CComSystem>::registerMetadata();
|
||||
qDBusRegisterMetaType<ChannelSpacing>();
|
||||
qDBusRegisterMetaType<ComUnit>();
|
||||
}
|
||||
|
||||
bool CComSystem::validValues() const
|
||||
{
|
||||
if (this->isDefaultValue()) return true; // special case
|
||||
|
||||
Reference in New Issue
Block a user