summaryrefslogtreecommitdiffstats
path: root/src/openglwidgets
diff options
context:
space:
mode:
authorDavid Boddie <[email protected]>2025-06-03 16:55:12 +0200
committerDavid Boddie <[email protected]>2025-06-16 15:09:31 +0200
commitfed6d715110e37eb3d0b646dedefc70699401a6f (patch)
tree84b123542a07e4b7c16841ebc97ca836763820f3 /src/openglwidgets
parentc7952977ff7bc805d31f465bdc37f34f53129b29 (diff)
Doc: Fix links to deprecated functions
Change-Id: I1a8ae38121b3a9880ac67f80133df3c15b9951c9 Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/openglwidgets')
-rw-r--r--src/openglwidgets/qopenglwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openglwidgets/qopenglwidget.cpp b/src/openglwidgets/qopenglwidget.cpp
index fa8e59bc0cf..cea1498d3ed 100644
--- a/src/openglwidgets/qopenglwidget.cpp
+++ b/src/openglwidgets/qopenglwidget.cpp
@@ -1247,8 +1247,8 @@ QSurfaceFormat QOpenGLWidget::format() const
been shown and thus it performed initialization.
\note This function will typically have to be used in combination with a
- QSurfaceFormat::setDefaultFormat() call that sets the color space to
- QSurfaceFormat::sRGBColorSpace.
+ QSurfaceFormat::setColorSpace() call that sets the color space to
+ QColorSpace::SRgb.
\since 5.10
*/