Doc: Adjust \fn signature for QVariant::value()

Fixes QDoc warning: clang couldn't find function when parsing
\fn template<typename T> T QVariant::value() const.

Change-Id: I0e331c5895497bd2c9e691a580929e25cc14dc6c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Topi Reinio 2023-06-13 21:52:43 +00:00
parent 5c66c08bed
commit 7df2fc0d29

View File

@ -2626,7 +2626,7 @@ QT_WARNING_POP
move assigning \a value to this QVariant.
*/
/*! \fn template<typename T> T QVariant::value() const
/*! \fn template<typename T> T QVariant::value() const &
Returns the stored value converted to the template type \c{T}.
Call canConvert() to find out whether a type can be converted.