diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-04-16 11:30:51 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-04-16 16:49:29 +0200 |
commit | 6ed83f82fe48d9ea9ab6c2a984f4bb6d51acf6a7 (patch) | |
tree | ce63a79426371f44ed0c9efe343a30166a18a5ba /src | |
parent | e27390f8e1fb961e783ce1004b3a8caf5eeaeca6 (diff) |
Port example away from deprecated QVariant API
Change-Id: I284610f216409b593d307b8076c8f638722929e6
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/kernel/qvariant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qvariant.h b/src/corelib/kernel/qvariant.h index d95d3cd0fb..9ebdbc4a18 100644 --- a/src/corelib/kernel/qvariant.h +++ b/src/corelib/kernel/qvariant.h @@ -333,7 +333,7 @@ class Q_CORE_EXPORT QVariant explicit QVariant(Type type) : QVariant(QMetaType(int(type))) {} - QT_DEPRECATED_VERSION_X_6_0("Use metaType().") + QT_DEPRECATED_VERSION_X_6_0("Use typeId() or metaType().") Type type() const { int type = d.typeId(); |