diff options
Diffstat (limited to 'src/gui/kernel/qsurfaceformat.cpp')
-rw-r--r-- | src/gui/kernel/qsurfaceformat.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qsurfaceformat.cpp b/src/gui/kernel/qsurfaceformat.cpp index 899e0c4c87..b64d90c953 100644 --- a/src/gui/kernel/qsurfaceformat.cpp +++ b/src/gui/kernel/qsurfaceformat.cpp @@ -753,8 +753,10 @@ void QSurfaceFormat::setColorSpace(const QColorSpace &colorSpace) } } +#if QT_DEPRECATED_SINCE(6, 0) /*! \overload + \deprecated [6.0] Use setColorSpace(QColorSpace) instead. Sets the colorspace to one of the predefined values. @@ -773,6 +775,7 @@ void QSurfaceFormat::setColorSpace(ColorSpace colorSpace) break; } } +#endif // QT_DEPRECATED_SINCE(6, 0) /*! \return the color space. |