mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-05 21:52:10 +01:00
Remove the connection to refreshWidgetValues() in output widget. Mike was
right and it's not needed since hte configTaskWidget takes care of this connection.
This commit is contained in:
parent
93b77becc0
commit
dba47a7d41
@ -71,16 +71,10 @@ ConfigOutputWidget::ConfigOutputWidget(QWidget *parent) : ConfigTaskWidget(paren
|
|||||||
|
|
||||||
connect(m_config->channelOutTest, SIGNAL(toggled(bool)), this, SLOT(runChannelTests(bool)));
|
connect(m_config->channelOutTest, SIGNAL(toggled(bool)), this, SLOT(runChannelTests(bool)));
|
||||||
|
|
||||||
|
|
||||||
firstUpdate = true;
|
|
||||||
|
|
||||||
// Configure the task widget
|
// Configure the task widget
|
||||||
// Connect the help button
|
// Connect the help button
|
||||||
connect(m_config->outputHelp, SIGNAL(clicked()), this, SLOT(openHelp()));
|
connect(m_config->outputHelp, SIGNAL(clicked()), this, SLOT(openHelp()));
|
||||||
|
|
||||||
// Add custom handling of displaying things
|
|
||||||
connect(this,SIGNAL(refreshWidgetsValuesRequested()), this, SLOT(refreshWidgetsValues()));
|
|
||||||
|
|
||||||
addApplySaveButtons(m_config->saveRCOutputToRAM,m_config->saveRCOutputToSD);
|
addApplySaveButtons(m_config->saveRCOutputToRAM,m_config->saveRCOutputToSD);
|
||||||
|
|
||||||
// Track the ActuatorSettings object
|
// Track the ActuatorSettings object
|
||||||
@ -125,7 +119,6 @@ ConfigOutputWidget::~ConfigOutputWidget()
|
|||||||
*/
|
*/
|
||||||
void ConfigOutputWidget::runChannelTests(bool state)
|
void ConfigOutputWidget::runChannelTests(bool state)
|
||||||
{
|
{
|
||||||
qDebug()<<"configoutputwidget runChannelTests"<<state;
|
|
||||||
SystemAlarms * systemAlarmsObj = SystemAlarms::GetInstance(getObjectManager());
|
SystemAlarms * systemAlarmsObj = SystemAlarms::GetInstance(getObjectManager());
|
||||||
SystemAlarms::DataFields systemAlarms = systemAlarmsObj->getData();
|
SystemAlarms::DataFields systemAlarms = systemAlarmsObj->getData();
|
||||||
|
|
||||||
|
@ -63,8 +63,6 @@ private:
|
|||||||
|
|
||||||
UAVObject::Metadata accInitialData;
|
UAVObject::Metadata accInitialData;
|
||||||
|
|
||||||
bool firstUpdate;
|
|
||||||
|
|
||||||
bool wasItMe;
|
bool wasItMe;
|
||||||
private slots:
|
private slots:
|
||||||
void stopTests();
|
void stopTests();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user