summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowswindow.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2012-06-08 12:29:46 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-09 08:34:56 +0200
commite03d1ae953cef9f7ef8ce551c767de3e9d97fb52 (patch)
treeeb28592f23d9628340702461bd7477deb94dccc7 /src/plugins/platforms/windows/qwindowswindow.cpp
parent14f45e535b4ef4cf169c3e0db817ac519b51b401 (diff)
implement Qt::TranslucentBackground for Windows
Adapted the Qt 4.8 implementation of translucent widgets in the Windows platform plugin. This is only working for non-OpenGL top level Windows. Change-Id: Ic4c1c52d33b380f530f6a07e96c0c154a0571415 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowswindow.cpp')
-rw-r--r--src/plugins/platforms/windows/qwindowswindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/windows/qwindowswindow.cpp b/src/plugins/platforms/windows/qwindowswindow.cpp
index 4e93d2b258..1266004f85 100644
--- a/src/plugins/platforms/windows/qwindowswindow.cpp
+++ b/src/plugins/platforms/windows/qwindowswindow.cpp
@@ -647,7 +647,8 @@ QWindowsWindow::QWindowsWindow(QWindow *aWindow, const WindowData &data) :
m_mouseGrab(false),
m_cursor(QWindowsScreen::screenOf(aWindow)->windowsCursor()->standardWindowCursor()),
m_dropTarget(0),
- m_savedStyle(0)
+ m_savedStyle(0),
+ m_format(aWindow->format())
#ifdef QT_OPENGL_ES_2
, m_eglSurface(0)
#endif