Commit 3dece82d authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Adding signals for auto-link handling

parent 6a210743
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
//#include "QGCPendingParamWidget.h" //#include "QGCPendingParamWidget.h"
#include "QGCToolWidget.h" #include "QGCToolWidget.h"
#include "UASManager.h" #include "UASManager.h"
#include "LinkManager.h"
#include "UASParameterCommsMgr.h" #include "UASParameterCommsMgr.h"
#include "ui_QGCPX4VehicleConfig.h" #include "ui_QGCPX4VehicleConfig.h"
#include "px4_configuration/QGCPX4AirframeConfig.h" #include "px4_configuration/QGCPX4AirframeConfig.h"
...@@ -89,6 +90,9 @@ QGCPX4VehicleConfig::QGCPX4VehicleConfig(QWidget *parent) : ...@@ -89,6 +90,9 @@ QGCPX4VehicleConfig::QGCPX4VehicleConfig(QWidget *parent) :
#ifdef QUPGRADE_SUPPORT #ifdef QUPGRADE_SUPPORT
firmwareDialog = new DialogBare(this); firmwareDialog = new DialogBare(this);
ui->firmwareLayout->addWidget(firmwareDialog); ui->firmwareLayout->addWidget(firmwareDialog);
connect(firmwareDialog, SIGNAL(connectLinks()), LinkManager::instance(), SLOT(connectAll()));
connect(firmwareDialog, SIGNAL(disconnectLinks()), LinkManager::instance(), SLOT(disconnectAll()));
#else #else
#error Please check out QUpgrade from http://github.com/LorenzMeier/qupgrade/ into the QGroundControl folder. #error Please check out QUpgrade from http://github.com/LorenzMeier/qupgrade/ into the QGroundControl folder.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment