From c46551e2033061596bf3cc28a96aaf71574e1e59 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 6 Sep 2023 12:44:31 +0000 Subject: Doc: Fix documentation issues Fix the following QDoc warnings: * warning: Can't link to 'QRhiWidget::sampleConut' * warning: Can't link to '`Q_NODISCARD_CTOR' * warning: Invalid '\relates' (already a member of 'QEventLoopLocker') * warning: Unknown command '\relatesalso' * warning: Undocumented parameter 'separator' in QLocale::name() * warning: clang couldn't find function when parsing \fn void QRhiWidget::framePresented() In QAtomicPointer, work around the issue of QDoc not supporting multiple \relates command for a single topic by adding a see-also link to the global qYieldCpu() function. Document the qvariant_cast() overload taking an rvalue reference. Change-Id: I2528eee666149a97a14be059bbed537636d7aa0d Reviewed-by: Thiago Macieira --- src/corelib/kernel/qeventloop.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/corelib/kernel/qeventloop.cpp') diff --git a/src/corelib/kernel/qeventloop.cpp b/src/corelib/kernel/qeventloop.cpp index f754a975b9..dcd5f6d5c0 100644 --- a/src/corelib/kernel/qeventloop.cpp +++ b/src/corelib/kernel/qeventloop.cpp @@ -403,7 +403,6 @@ QEventLoopLocker::QEventLoopLocker(QThread *thread) noexcept /*! \fn QEventLoopLocker::swap(QEventLoopLocker &lhs, QEventLoopLocker &rhs) - \relates QEventLoopLocker \since 6.7 Swaps the object and the state of \a lhs with \a rhs. -- cgit v1.2.3