Skip to content

Commit 03efe9a

Browse files
committed
Doc: fix documentation warning for QByteArray::fromCFData
\brief tags are not used for member function documentation. Explicitly set the prototype for qdoc instead, it doesn't seem to know what to do with the definition in an ObjectiveC file and produces link warnings. Pick-to: 6.9 6.9.0 Change-Id: I89252e7b84586e987ed6d950d90142e916d8f1df Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
1 parent b6a01d7 commit 03efe9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/corelib/kernel/qcore_foundation.mm

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
QT_BEGIN_NAMESPACE
2727

2828
/*!
29-
\brief Constructs a new QByteArray containing a copy of the CFData \a data.
29+
\fn QByteArray QByteArray::fromCFData(CFDataRef data)
30+
31+
Constructs a new QByteArray containing a copy of the CFData \a data.
3032
3133
\since 5.3
3234
\ingroup platform-type-conversions

0 commit comments

Comments
 (0)