Fix typo in documentation for QVariant::nameToType

Pick-to: 6.4 6.2
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>
This commit is contained in:
Nicolas Fella 2022-11-23 14:18:34 +01:00 committed by Volker Hilsheimer
parent e36457c043
commit a528b1eb02

View File

@ -1079,7 +1079,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.