From 4905a80beb40c87b992795e052e0c60dc3968f62 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 31 Jul 2020 18:43:37 -0400 Subject: [PATCH] remove unused qargb8565::rawValue16() method Signed-off-by: Ivailo Monev --- src/gui/painting/qdrawhelper_p.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h index 07adb081e..41d1d7a93 100644 --- a/src/gui/painting/qdrawhelper_p.h +++ b/src/gui/painting/qdrawhelper_p.h @@ -435,7 +435,6 @@ public: inline bool operator==(const qargb8565 &v) const; inline quint32 rawValue() const; - inline quint16 rawValue16() const; private: friend class qrgb565; @@ -556,11 +555,6 @@ quint32 qargb8565::rawValue() const return (data[2] << 16) | (data[1] << 8) | data[0]; } -quint16 qargb8565::rawValue16() const -{ - return (data[2] << 8) | data[1]; -} - qrgb565::qrgb565(quint32p v) { *this = qrgb565(quint32(v)); -- 2.11.0