diff options
author | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-01-10 11:22:15 (GMT) |
---|---|---|
committer | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-01-10 15:29:03 (GMT) |
commit | d62e9f4a6fe199ae790b1561fd4ba9ea84bd4d1e (patch) | |
tree | 7d28e05592295ad3f0ff14eed3c6f37483b12a61 /src/gui/painting | |
parent | 2b1b617664bfc78f6e95e53dc0f9749bd1f2d27a (diff) | |
download | Qt-d62e9f4a6fe199ae790b1561fd4ba9ea84bd4d1e.zip Qt-d62e9f4a6fe199ae790b1561fd4ba9ea84bd4d1e.tar.gz Qt-d62e9f4a6fe199ae790b1561fd4ba9ea84bd4d1e.tar.bz2 |
Setting WA_TranslucentBackground after winid() is ineffective on Symbian.
Currently Symbian doesn't support semi-transparent EGL surfaces.
WA_TranslucentBackground attribute is ineffective if set after EGL
surface creation. To enable translucency in this case we need to
recreate backing store to get raster surface which supports translucency.
Task-number: QT-4416
Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qgraphicssystem_runtime.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/painting/qgraphicssystem_runtime.cpp b/src/gui/painting/qgraphicssystem_runtime.cpp index a9fbbee..db3b0d8 100644 --- a/src/gui/painting/qgraphicssystem_runtime.cpp +++ b/src/gui/painting/qgraphicssystem_runtime.cpp @@ -322,7 +322,6 @@ QRuntimeGraphicsSystem::QRuntimeGraphicsSystem() : m_windowSurfaceDestroyPolicy(DestroyImmediately), m_graphicsSystem(0) { - QApplicationPrivate::graphics_system_name = QLatin1String("runtime"); QApplicationPrivate::runtime_graphics_system = true; #ifdef QT_DEFAULT_RUNTIME_SYSTEM @@ -336,6 +335,8 @@ QRuntimeGraphicsSystem::QRuntimeGraphicsSystem() #endif m_graphicsSystem = QGraphicsSystemFactory::create(m_graphicsSystemName); + + QApplicationPrivate::graphics_system_name = QLatin1String("runtime"); } |