diff options
author | Topi Reinio <topi.reinio@qt.io> | 2023-09-06 12:44:31 +0000 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2023-09-11 15:56:10 +0000 |
commit | c46551e2033061596bf3cc28a96aaf71574e1e59 (patch) | |
tree | 12ee52460843cd4b8e88769c2482dc2355a18427 /examples/widgets | |
parent | c7486cd665e201dd48f49312681de4a776fbe558 (diff) |
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 <thiago.macieira@intel.com>
Diffstat (limited to 'examples/widgets')
-rw-r--r-- | examples/widgets/doc/src/cuberhiwidget.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/doc/src/cuberhiwidget.qdoc b/examples/widgets/doc/src/cuberhiwidget.qdoc index 98aad32438..6356ead959 100644 --- a/examples/widgets/doc/src/cuberhiwidget.qdoc +++ b/examples/widgets/doc/src/cuberhiwidget.qdoc @@ -31,7 +31,7 @@ \li The contents of the QRhiWidget \l{QRhiWidget::grab()}{can be read back} and saved to an image file (e.g. a PNG file). - \li 4x multisample antialiasing \l{QRhiWidget::sampleConut}{can be toggled} + \li 4x multisample antialiasing \l{QRhiWidget::sampleCount()}{can be toggled} at run time. The QRhiWidget subclass is prepared to handle the changing sample count correctly. |