diff --git a/MetaDataRegistry.cpp b/MetaDataRegistry.cpp index 49a56a680..07ce46d32 100644 --- a/MetaDataRegistry.cpp +++ b/MetaDataRegistry.cpp @@ -23,6 +23,10 @@ QItemEditorFactory * item_editor_factory () void register_types () { + // we still have to register the fully qualified names of enum types + // used as signal/slot connection arguments since the new Qt 5.5 + // Q_ENUM macro only seems to register the unqualified name + // Radio namespace auto frequency_type_id = qRegisterMetaType ("Frequency"); qRegisterMetaType ("Frequencies"); @@ -61,9 +65,7 @@ void register_types () // Transceiver qRegisterMetaType ("Transceiver::TransceiverState"); -#if QT_VERSION < 0x050500 qRegisterMetaType ("Transceiver::MODE"); -#endif // Transceiver factory #if QT_VERSION < 0x050500