Fixed light & dark modes.
This commit is contained in:
@@ -107,6 +107,7 @@ void BCXmlLoader::loadXmlBikeData( const QString& fileName )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Lädt deie Daten des BionX eBikes
|
||||
* @param deviceID
|
||||
@@ -169,6 +170,11 @@ void BCXmlLoader::loadXmlBikeDeviceData(BCDevice::ID deviceID)
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Erzeugt einen BCValue für die DeviceID aus dem gegebenen parameter pack
|
||||
*/
|
||||
|
||||
std::optional<BCValuePtr> BCXmlLoader::makeValue( BCDevice::ID deviceID, const BCValueParams& params )
|
||||
{
|
||||
|
||||
@@ -191,13 +197,9 @@ std::optional<BCValuePtr> BCXmlLoader::makeValue( BCDevice::ID deviceID, const B
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
Wir brauchen:
|
||||
- einen gültige ID String um die enum ID herauszufinden.
|
||||
- einen gültige UnitType String um den ValueType herauszufinden.
|
||||
|
||||
*/
|
||||
// Wir brauchen:
|
||||
// - einen gültige ID String um die enum ID herauszufinden.
|
||||
// - einen gültige UnitType String um den ValueType herauszufinden.
|
||||
|
||||
// geht nicht auf qt6.8 von debian trixie
|
||||
//std::optional<quint64> IDVal = s_bcValueEnum.keyToValue64( params.ID.toLatin1().constData() );
|
||||
|
||||
Reference in New Issue
Block a user