Browse Source

clearDefaultValue not needed

QGC4.4
Don Gagne 10 years ago
parent
commit
f46ff35e41
  1. 6
      src/FactSystem/FactMetaData.cc
  2. 3
      src/FactSystem/FactMetaData.h

6
src/FactSystem/FactMetaData.cc

@ -133,9 +133,3 @@ QVariant FactMetaData::_maxForType(void) @@ -133,9 +133,3 @@ QVariant FactMetaData::_maxForType(void)
// Make windows compiler happy, even switch is full cased
return QVariant();
}
void FactMetaData::clearDefaultValue(void)
{
_defaultValue = 0;
_defaultValueAvailable = false;
}

3
src/FactSystem/FactMetaData.h

@ -74,9 +74,6 @@ public: @@ -74,9 +74,6 @@ public:
void setMin(const QVariant& max);
void setMax(const QVariant& max);
/// Used to clear a default value which it is found to possibly be invalid
void clearDefaultValue(void);
private:
QVariant _minForType(void);
QVariant _maxForType(void);

Loading…
Cancel
Save