mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
Using QMetaType::Type instead of QVariant::Type
Auto as per review of refs #319
This commit is contained in:
@@ -134,6 +134,7 @@ namespace BlackMisc
|
||||
bool isValid() const { return m_v.isValid(); }
|
||||
|
||||
//! Return the metatype ID of the value in this variant, or QMetaType::User if it is a user type.
|
||||
// KB we should think about returning QMetaType::Type directly, as QVariant::Type is deprecated
|
||||
QVariant::Type type() const { return m_v.type(); }
|
||||
|
||||
//! Return the typename of the value in this variant.
|
||||
|
||||
Reference in New Issue
Block a user