Fix typo in documentation for QVariant::nameToType

Change-Id: I69742b9e597012329de5f5f742d4972ea7575775
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit a528b1eb02a685e9e848bd7d69a5ef0c57774bd7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Nicolas Fella 2022-11-23 14:18:34 +01:00 committed by Qt Cherry-pick Bot
parent 1daf2593ab
commit e9c7d0c10a

View File

@ -1069,7 +1069,7 @@ void QVariant::clear()
/*! /*!
\fn QVariant::Type QVariant::nameToType(const char *name) \fn QVariant::Type QVariant::nameToType(const char *name)
\deprecated [6.0] Use \c QMetaType.fromName(name).id() instead \deprecated [6.0] Use \c QMetaType::fromName(name).id() instead
Converts the string representation of the storage type given in \a Converts the string representation of the storage type given in \a
name, to its enum representation. name, to its enum representation.