Doc: Fix typo in QSurfaceFormat::setDefaultFormat documentation

Fixes: QTBUG-107486
Pick-to: 6.5
Change-Id: Id22cedfa65e831574f683a33a4c2fde20570890e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit d83b5350689242e7815a2c2e6b6168fe1f67d943)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Andy Nichols 2024-02-26 13:25:48 +01:00 committed by Qt Cherry-pick Bot
parent 4d3a69cea3
commit 5f4c74f045

View File

@ -765,7 +765,7 @@ Q_GLOBAL_STATIC(QSurfaceFormat, qt_default_surface_format)
question's own setFormat() function. However, it is often more convenient to
set the format for all windows once at the start of the application. It also
guarantees proper behavior in cases where shared contexts are required,
because settings the format via this function guarantees that all contexts
because setting the format via this function guarantees that all contexts
and surfaces, even the ones created internally by Qt, will use the same
format.