summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qgraphicssystem_runtime.cpp
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-01-10 11:22:15 (GMT)
committerJani Hautakangas <jani.hautakangas@nokia.com>2011-01-10 15:29:03 (GMT)
commitd62e9f4a6fe199ae790b1561fd4ba9ea84bd4d1e (patch)
tree7d28e05592295ad3f0ff14eed3c6f37483b12a61 /src/gui/painting/qgraphicssystem_runtime.cpp
parent2b1b617664bfc78f6e95e53dc0f9749bd1f2d27a (diff)
downloadQt-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/qgraphicssystem_runtime.cpp')
-rw-r--r--src/gui/painting/qgraphicssystem_runtime.cpp3
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");
}