mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
OP-907 fixed regression in vehicle config : "dirty" state management
was broken (continued).
This commit is contained in:
parent
99c052651c
commit
6ff2b1873d
@ -105,9 +105,6 @@ void VehicleConfig::setupUI(QString frameType)
|
|||||||
Q_UNUSED(frameType);
|
Q_UNUSED(frameType);
|
||||||
}
|
}
|
||||||
|
|
||||||
//void VehicleConfig::refreshWidgetsValues(UAVObject *o = NULL)
|
|
||||||
//void VehicleConfig::updateObjectsFromWidgets()
|
|
||||||
|
|
||||||
void VehicleConfig::refreshWidgetsValues(QString frameType)
|
void VehicleConfig::refreshWidgetsValues(QString frameType)
|
||||||
{
|
{
|
||||||
Q_UNUSED(frameType);
|
Q_UNUSED(frameType);
|
||||||
@ -115,7 +112,17 @@ void VehicleConfig::refreshWidgetsValues(QString frameType)
|
|||||||
|
|
||||||
QString VehicleConfig::updateConfigObjectsFromWidgets()
|
QString VehicleConfig::updateConfigObjectsFromWidgets()
|
||||||
{
|
{
|
||||||
return QString();
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleConfig::refreshWidgetsValues(UAVObject *o)
|
||||||
|
{
|
||||||
|
Q_UNUSED(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
void VehicleConfig::updateObjectsFromWidgets()
|
||||||
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void VehicleConfig::resetActuators(GUIConfigDataUnion *configData)
|
void VehicleConfig::resetActuators(GUIConfigDataUnion *configData)
|
||||||
|
@ -188,9 +188,9 @@ protected:
|
|||||||
double getCurveMin(QList<double> *curve);
|
double getCurveMin(QList<double> *curve);
|
||||||
double getCurveMax(QList<double> *curve);
|
double getCurveMax(QList<double> *curve);
|
||||||
|
|
||||||
//protected slots:
|
protected slots:
|
||||||
// virtual void refreshWidgetsValues(UAVObject *o = NULL);
|
virtual void refreshWidgetsValues(UAVObject *o = NULL);
|
||||||
// virtual void updateObjectsFromWidgets();
|
virtual void updateObjectsFromWidgets();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static UAVObjectManager *getUAVObjectManager();
|
static UAVObjectManager *getUAVObjectManager();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user