Removed 'Default' field in BCValue.
This commit is contained in:
@@ -172,7 +172,6 @@ void BCXmlLoader::loadXmlBikeDeviceData(BCDevice::ID deviceID)
|
||||
{
|
||||
.ID = id,
|
||||
.Label = _xml.attributes().value(BCTags::Label).toString(),
|
||||
.Default = _xml.attributes().value(BCTags::Default).toString(),
|
||||
.UnitType = _xml.attributes().value(BCTags::UnitType).toString(),
|
||||
};
|
||||
|
||||
@@ -242,8 +241,6 @@ std::optional<BCValue> BCXmlLoader::makeDataValue( BCDevice::ID deviceID, const
|
||||
setIfExists( params.Max, newValue.max );
|
||||
*/
|
||||
newValue->label = params.Label;
|
||||
newValue->defaultValue = params.Default;
|
||||
|
||||
qDebug() << " --- created: " << params.Label;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user