From 1ea0b47c2eaf81ba4a13b89343719dcefdb90ce3 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 20 Nov 2017 21:50:19 -0800 Subject: QImage: Add the replacement function to byteCount's deprecation msg Change-Id: I938b024e38bf4aac9154fffd14f903e22b364c0d Reviewed-by: Allan Sandfeld Jensen --- src/gui/image/qimage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/image/qimage.h b/src/gui/image/qimage.h index eccff480bb..398424f75f 100644 --- a/src/gui/image/qimage.h +++ b/src/gui/image/qimage.h @@ -215,7 +215,7 @@ public: const uchar *constBits() const; #if QT_DEPRECATED_SINCE(5, 10) - QT_DEPRECATED int byteCount() const; + QT_DEPRECATED_X("Use sizeInBytes") int byteCount() const; #endif qssize_t sizeInBytes() const; -- cgit v1.2.3