summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-08-02 23:42:00 +0200
committerMarc Mutz <marc.mutz@kdab.com>2014-08-05 18:05:17 +0200
commitfe01a3bea62a84c9aeb09575c9d135a478e6f24a (patch)
tree4996508e894a1dc06fbe77ed823082a257c084a8
parent559a72e4b637b9abb059e2708f206bbaca2be9e2 (diff)
QPixelFormat: make data fields private instead of protected
The convenience subclasses use the QPixelFormat ctor, not the data fields directly. Change-Id: I011299837cfb3b7006bc8425848989e5739b6082 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
-rw-r--r--src/gui/kernel/qpixelformat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qpixelformat.h b/src/gui/kernel/qpixelformat.h
index 0e5df679f8..87b40577d1 100644
--- a/src/gui/kernel/qpixelformat.h
+++ b/src/gui/kernel/qpixelformat.h
@@ -162,7 +162,7 @@ public:
Q_DECL_CONSTEXPR inline YUVLayout yuvLayout() const Q_DECL_NOTHROW { return YUVLayout(sub_enum); }
Q_DECL_CONSTEXPR inline uchar subEnum() const Q_DECL_NOTHROW { return sub_enum; }
-protected:
+private:
quint64 model : 4;
quint64 first : 6;
quint64 second : 6;