mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Constructor for PQ by string (e.g. 100km/h),
motivated by MS review https://dev.vatsim-germany.org/issues/212#note-6 refs #212
This commit is contained in:
@@ -22,6 +22,9 @@ namespace BlackMisc
|
||||
//! Init by double value
|
||||
CLength(double value, const CLengthUnit &unit) : CPhysicalQuantity(value, unit) {}
|
||||
|
||||
//! \copydoc CPhysicalQuantity(const QString &unitString)
|
||||
CLength(const QString &unitString) : CPhysicalQuantity(unitString) {}
|
||||
|
||||
//! \copydoc CValueObject::toQVariant
|
||||
virtual QVariant toQVariant() const override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user