1
0
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:
Philippe Renon 2013-04-25 00:07:06 +02:00
parent 99c052651c
commit 6ff2b1873d
2 changed files with 14 additions and 7 deletions

View File

@ -105,9 +105,6 @@ void VehicleConfig::setupUI(QString frameType)
Q_UNUSED(frameType);
}
//void VehicleConfig::refreshWidgetsValues(UAVObject *o = NULL)
//void VehicleConfig::updateObjectsFromWidgets()
void VehicleConfig::refreshWidgetsValues(QString frameType)
{
Q_UNUSED(frameType);
@ -115,7 +112,17 @@ void VehicleConfig::refreshWidgetsValues(QString frameType)
QString VehicleConfig::updateConfigObjectsFromWidgets()
{
return QString();
return NULL;
}
void VehicleConfig::refreshWidgetsValues(UAVObject *o)
{
Q_UNUSED(o);
}
void VehicleConfig::updateObjectsFromWidgets()
{
}
void VehicleConfig::resetActuators(GUIConfigDataUnion *configData)

View File

@ -188,9 +188,9 @@ protected:
double getCurveMin(QList<double> *curve);
double getCurveMax(QList<double> *curve);
//protected slots:
// virtual void refreshWidgetsValues(UAVObject *o = NULL);
// virtual void updateObjectsFromWidgets();
protected slots:
virtual void refreshWidgetsValues(UAVObject *o = NULL);
virtual void updateObjectsFromWidgets();
private:
static UAVObjectManager *getUAVObjectManager();