diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-04-14 07:05:53 (GMT) |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-04-14 07:05:53 (GMT) |
commit | d176e39de8fcde92a92866e7b0db5904c90a1e82 (patch) | |
tree | ab24baff6f771e90438ce0ab117500c3a020974a /src | |
parent | cc526edbff1cc413532f7ab1b6c088adae76744d (diff) | |
download | Qt-d176e39de8fcde92a92866e7b0db5904c90a1e82.zip Qt-d176e39de8fcde92a92866e7b0db5904c90a1e82.tar.gz Qt-d176e39de8fcde92a92866e7b0db5904c90a1e82.tar.bz2 |
Do not use SetSurfaceTransparency() on raster.
When raster graphics system is forced and the HW was capable enough,
we still tried to use SetSurfaceTransparency() on the RWindow to
enable semi-transparency, which is wrong as it only works for
windows that have a separate surface.
Reviewed-by: Jani Hautakangas
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index f73eb02..6e70fc2 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -1855,6 +1855,8 @@ void qt_init(QApplicationPrivate * /* priv */, int) } else { QApplicationPrivate::instance()->useTranslucentEGLSurfaces = false; } + if (QApplicationPrivate::graphics_system_name == QLatin1String("raster")) + QApplicationPrivate::instance()->useTranslucentEGLSurfaces = false; #else QApplicationPrivate::instance()->useTranslucentEGLSurfaces = false; #endif |