summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/image/qimage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/image/qimage.h b/src/gui/image/qimage.h
index 7b2abfaf85..56824e5ee7 100644
--- a/src/gui/image/qimage.h
+++ b/src/gui/image/qimage.h
@@ -267,7 +267,8 @@ public:
bool hasAlphaChannel() const;
void setAlphaChannel(const QImage &alphaChannel);
#if QT_DEPRECATED_SINCE(5, 15)
- QT_DEPRECATED QImage alphaChannel() const;
+ QT_DEPRECATED_X("Use convertToFormat(QImage::Format_Alpha8)")
+ QImage alphaChannel() const;
#endif
QImage createAlphaMask(Qt::ImageConversionFlags flags = Qt::AutoColor) const;
#ifndef QT_NO_IMAGE_HEURISTIC_MASK