cleanups.

This commit is contained in:
2025-08-09 07:45:32 +02:00
parent 5919d9d90d
commit c89cdfef71
5 changed files with 55 additions and 27 deletions

View File

@@ -28,6 +28,7 @@ void XQItemFactory::initItemFactory( const QString& modelSheetFileName )
// über alle attribute
for( const auto& [key,value] : sheetNode->attributes() )
{
qDebug() << " --- conf: " << key << " : " << value;
setItemDataFromString( *itemType, key, value );
}
};
@@ -168,6 +169,7 @@ QVariant XQItemFactory::makeVariant( int dataRole, const QString& source ) const
case XQItem::UnitTypeRole:
{
qDebug() << " --- make unit type: " << source;
XQItem::UnitType unitType = XQItem::fetchUnitType( source );
value = QVariant::fromValue(unitType);
break;