Cleanups.

This commit is contained in:
2026-01-02 16:25:21 +01:00
parent acbd80c446
commit 26d7f726d4
109 changed files with 565 additions and 6171 deletions

View File

@@ -221,14 +221,13 @@ std::optional<BCValuePtr> BCXmlLoader::makeDataValue( BCDevice::ID deviceID, con
*/
bool ok;
// geht nicht auf qt6.8 von debian trixie
//std::optional<quint64> IDVal = s_bcValueEnum.keyToValue64( params.ID.toLatin1().constData() );
bool ok;
int IDVal = s_bcValueEnum.keyToValue( params.ID.toLatin1().constData(), &ok );
qDebug() << " --- should create: " << params.Label << ": " << params.UnitType;
//if( IDVal.has_value() )
if( IDVal )
if( ok )
{
auto valueType = BCValueType::fetchValueType(params.UnitType);
if( valueType.has_value() )