From 52072a8c8acb1184a649bf0e78d92d108fb0bb24 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 19 Feb 2012 19:20:49 +0100 Subject: [PATCH] qwidget_p.h: Remove DontSetCompositionMode from the internal flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This flag was used by QWS to set or not set the composition mode when filling the background. E.g. this was used by 'transparent' windows to set the alpha bits. QPA didn't have this enabled in 4.8, the code paths are gone in Qt5 and it is the responsibility of the QPlatformBackingStore to initialize the alpha bits properly. Change-Id: I4011d842b718d6a40b19922b5f75c597e63079c8 Reviewed-by: Samuel Rødal --- src/widgets/kernel/qwidget_p.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/widgets/kernel/qwidget_p.h b/src/widgets/kernel/qwidget_p.h index 8b66f14540..38314c234b 100644 --- a/src/widgets/kernel/qwidget_p.h +++ b/src/widgets/kernel/qwidget_p.h @@ -283,9 +283,8 @@ public: DrawRecursive = 0x04, DrawInvisible = 0x08, DontSubtractOpaqueChildren = 0x10, - DontSetCompositionMode = 0x20, - DontDrawOpaqueChildren = 0x40, - DontDrawNativeChildren = 0x80 + DontDrawOpaqueChildren = 0x20, + DontDrawNativeChildren = 0x40 }; enum CloseMode {