From f486b7c84b19fc2874db242fb8d1b66eb5aa6fcb Mon Sep 17 00:00:00 2001 From: Ladislav Michl Date: Fri, 11 Apr 2025 01:53:09 +0200 Subject: [PATCH] App: Quantity: use predefined unit types --- src/App/FeatureTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/FeatureTest.cpp b/src/App/FeatureTest.cpp index e645193844..93bbcb95ab 100644 --- a/src/App/FeatureTest.cpp +++ b/src/App/FeatureTest.cpp @@ -145,7 +145,7 @@ FeatureTest::FeatureTest() ADD_PROPERTY(QuantityLength, (1.0)); QuantityLength.setUnit(Base::Unit::Length); ADD_PROPERTY(QuantityOther, (5.0)); - QuantityOther.setUnit(Base::Unit(-3, 1)); + QuantityOther.setUnit(Base::Unit::Density); // clang-format on }