summaryrefslogtreecommitdiffstats
path: root/demos/embedded
diff options
context:
space:
mode:
authorMarko Kenttala <ext-marko.r.kenttala@nokia.com>2011-11-30 07:57:47 (GMT)
committerPasi Pentikainen <pasi.a.pentikainen@nokia.com>2011-11-30 14:00:28 (GMT)
commite443cd2cfead3d0d6c53adcd4366cc18bd253096 (patch)
tree361bdbf4c609475ce1c789629cd3375d863212cf /demos/embedded
parent9b40e102cc76666dfa76a7b0e3d1339d672d8a95 (diff)
downloadQt-e443cd2cfead3d0d6c53adcd4366cc18bd253096.zip
Qt-e443cd2cfead3d0d6c53adcd4366cc18bd253096.tar.gz
Qt-e443cd2cfead3d0d6c53adcd4366cc18bd253096.tar.bz2
Lightmaps demo Symbian fix
Enabling night mode does not work on Symbian devices as it uses difference composition mode which is not available. Application changed to use raster graphics engine which supports difference composition mode. Task-number: ou1cimx1#932185 Reviewed-by: Murray Read
Diffstat (limited to 'demos/embedded')
-rw-r--r--demos/embedded/lightmaps/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/embedded/lightmaps/main.cpp b/demos/embedded/lightmaps/main.cpp
index 85f74e6..f9b6fb0 100644
--- a/demos/embedded/lightmaps/main.cpp
+++ b/demos/embedded/lightmaps/main.cpp
@@ -44,7 +44,7 @@
int main(int argc, char **argv)
{
-#if defined(Q_WS_X11)
+#if defined(Q_WS_X11) || defined(Q_OS_SYMBIAN)
QApplication::setGraphicsSystem("raster");
#endif