Base: Quantity: return std::string
This commit is contained in:
committed by
Yorik van Havre
parent
c11b37e312
commit
2ea8a633ac
@@ -180,7 +180,8 @@ QString MeasureBase::getResultString()
|
||||
}
|
||||
|
||||
if (prop->isDerivedFrom(App::PropertyQuantity::getClassTypeId())) {
|
||||
return static_cast<App::PropertyQuantity*>(prop)->getQuantityValue().getUserString();
|
||||
return QString::fromStdString(
|
||||
static_cast<App::PropertyQuantity*>(prop)->getQuantityValue().getUserString());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user