From 7df2fc0d29194139f001885df3c2666381e7e5e3 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 13 Jun 2023 21:52:43 +0000 Subject: [PATCH] Doc: Adjust \fn signature for QVariant::value() Fixes QDoc warning: clang couldn't find function when parsing \fn template T QVariant::value() const. Change-Id: I0e331c5895497bd2c9e691a580929e25cc14dc6c Reviewed-by: Paul Wicking --- src/corelib/kernel/qvariant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp index 30da12c95b..857dcdf1e0 100644 --- a/src/corelib/kernel/qvariant.cpp +++ b/src/corelib/kernel/qvariant.cpp @@ -2626,7 +2626,7 @@ QT_WARNING_POP move assigning \a value to this QVariant. */ -/*! \fn template T QVariant::value() const +/*! \fn template 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.