diff --git a/src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc b/src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc index 57e3b39..bf49e18 100644 --- a/src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc +++ b/src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc @@ -58,7 +58,6 @@ PX4FirmwarePlugin::PX4FirmwarePlugin() qmlRegisterType ("QGroundControl.Controllers", 1, 0, "AirframeComponentController"); qmlRegisterType ("QGroundControl.Controllers", 1, 0, "SensorsComponentController"); qmlRegisterType ("QGroundControl.Controllers", 1, 0, "PowerComponentController"); - qmlRegisterType ("QGroundControl.Controllers", 1, 0, "RadioComponentController"); struct Modes2Name { uint8_t main_mode; diff --git a/src/QGCApplication.cc b/src/QGCApplication.cc index 09ea42e..8f53f7d 100644 --- a/src/QGCApplication.cc +++ b/src/QGCApplication.cc @@ -52,6 +52,7 @@ #include "QGCLoggingCategory.h" #include "ParameterEditorController.h" #include "ESP8266ComponentController.h" +#include "RadioComponentController.h" #include "ScreenToolsController.h" #include "QGCFileDialogController.h" #include "RCChannelMonitorController.h" @@ -569,6 +570,7 @@ void QGCApplication::_initCommon() qmlRegisterType (kQGCControllers, 1, 0, "ParameterEditorController"); qmlRegisterType (kQGCControllers, 1, 0, "ESP8266ComponentController"); + qmlRegisterType (kQGCControllers, 1, 0, "RadioComponentController"); qmlRegisterType (kQGCControllers, 1, 0, "ScreenToolsController"); qmlRegisterType (kQGCControllers, 1, 0, "PlanMasterController"); qmlRegisterType (kQGCControllers, 1, 0, "QGCFileDialogController");