summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qimagereader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qimagereader.h')
-rw-r--r--src/gui/image/qimagereader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/image/qimagereader.h b/src/gui/image/qimagereader.h
index 4e9a08b6e6..7cd3b81a7d 100644
--- a/src/gui/image/qimagereader.h
+++ b/src/gui/image/qimagereader.h
@@ -117,8 +117,12 @@ public:
void setAutoTransform(bool enabled);
bool autoTransform() const;
+#if QT_DEPRECATED_SINCE(5, 15)
+ QT_DEPRECATED_VERSION_X_5_15("Use QColorSpace instead")
void setGamma(float gamma);
+ QT_DEPRECATED_VERSION_X_5_15("Use QColorSpace instead")
float gamma() const;
+#endif
QByteArray subType() const;
QList<QByteArray> supportedSubTypes() const;