qwidget_p.h: Remove DontSetCompositionMode from the internal flags

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 <samuel.rodal@nokia.com>
bb10
Holger Hans Peter Freyther 2012-02-19 19:20:49 +01:00 committed by Qt by Nokia
parent 3ad9896361
commit 52072a8c8a
1 changed files with 2 additions and 3 deletions

View File

@ -283,9 +283,8 @@ public:
DrawRecursive = 0x04,
DrawInvisible = 0x08,
DontSubtractOpaqueChildren = 0x10,
DontSetCompositionMode = 0x20,
DontDrawOpaqueChildren = 0x40,
DontDrawNativeChildren = 0x80
DontDrawOpaqueChildren = 0x20,
DontDrawNativeChildren = 0x40
};
enum CloseMode {