summaryrefslogtreecommitdiffstats
path: root/src/openglwidgets/qopenglwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openglwidgets/qopenglwidget.cpp')
-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
*/