Use AppEnumField in test application

This commit is contained in:
Magne Sjaastad
2024-03-03 14:08:25 +01:00
parent e080fa55e0
commit a1bada1f64
2 changed files with 5 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ public:
QVariant toQVariant() const override
{
auto enumValue = static_cast<std::underlying_type_t<DataType>>( m_fieldValue );
auto enumValue = static_cast<std::underlying_type_t<DataType>>( m_fieldValue.value() );
return enumValue;
}