From 8e280d1e187b09651c7036bd76272342d52ce401 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 25 Jun 2012 13:58:41 +0200 Subject: QPlatformWindow: Add Window masks. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add functionality for window masks to QPlatformWindow, which is required to implement QWidget::setMask() in order to fix the regression in functionality from Qt 4.8. Change-Id: I2c2d5629f0b4c6d90e52595ad70b13559aab1f41 Reviewed-by: Samuel Rødal --- src/gui/kernel/qplatformintegration.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/kernel/qplatformintegration.h') diff --git a/src/gui/kernel/qplatformintegration.h b/src/gui/kernel/qplatformintegration.h index 3990adb3fe..ea13a25bab 100644 --- a/src/gui/kernel/qplatformintegration.h +++ b/src/gui/kernel/qplatformintegration.h @@ -85,8 +85,8 @@ public: OpenGL = 2, ThreadedOpenGL = 3, SharedGraphicsCache = 4, - BufferQueueingOpenGL = 5 - + BufferQueueingOpenGL = 5, + WindowMasks = 6 }; virtual ~QPlatformIntegration() { } -- cgit v1.2.3