mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
refs #413 Make all value class methods non-virtual.
toCVariant() and convertFromCVariant() are now deprecated, use CVariant::from() and CVariant::to() instead.
This commit is contained in:
@@ -248,8 +248,11 @@ namespace BlackMisc
|
||||
// }
|
||||
|
||||
public:
|
||||
//! Destructor
|
||||
virtual ~CMeasurementUnit() = default;
|
||||
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
virtual QString convertToQString(bool i18n = false) const override
|
||||
QString convertToQString(bool i18n = false) const
|
||||
{
|
||||
return this->getSymbol(i18n);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user