Cosmetics and some commenting.
This commit is contained in:
@@ -169,7 +169,12 @@ void BCDataManager::loadXmlBikeDeviceData(BCDevice::ID deviceID)
|
||||
// nur gültige Werte sind vorhanden und können gespeichert werden
|
||||
std::optional<BCValue> newValue = makeDataValue( deviceID, params );
|
||||
if(newValue)
|
||||
{
|
||||
// wir merken uns gleich den index in der Werteliste
|
||||
(*newValue).indexRow = currentValues.size();
|
||||
currentValues.push_back( *newValue );
|
||||
}
|
||||
|
||||
}
|
||||
// weiter zum nächsten Element
|
||||
_xml.skipCurrentElement();
|
||||
|
||||
Reference in New Issue
Block a user