summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-11-20 21:50:19 -0800
committerThiago Macieira <thiago.macieira@intel.com>2017-11-22 06:18:19 +0000
commit1ea0b47c2eaf81ba4a13b89343719dcefdb90ce3 (patch)
treec9ebbea4f51ccfaabde348852246a54ae4a42b11
parentd3e9b8c728f508fac56a48d63c4a393f2859a2aa (diff)
QImage: Add the replacement function to byteCount's deprecation msg
Change-Id: I938b024e38bf4aac9154fffd14f903e22b364c0d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--src/gui/image/qimage.h2
1 files changed, 1 insertions, 1 deletions
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;