QImage: Add the replacement function to byteCount's deprecation msg

Change-Id: I938b024e38bf4aac9154fffd14f903e22b364c0d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
Thiago Macieira 2017-11-20 21:50:19 -08:00
parent d3e9b8c728
commit 1ea0b47c2e

View File

@ -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;