summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-02-23 12:55:04 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-02-23 12:55:04 (GMT)
commit412512466183c021cee95002f57215707fbfb8ca (patch)
tree16b2b0657d976768970c3b4c9586c5a17bb7cbab /src/gui
parent7e138f0fcd52464e21a22bf3c76b1478e9c2b631 (diff)
parent9be36306cd19626344cdedf5d99f5b142c2356d0 (diff)
downloadQt-412512466183c021cee95002f57215707fbfb8ca.zip
Qt-412512466183c021cee95002f57215707fbfb8ca.tar.gz
Qt-412512466183c021cee95002f57215707fbfb8ca.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public: Always define Q_WS_S60 on Symbian unless configured with -no-s60. Enable window size caching on Symbian NGA variants. Use the SYMBIAN_BUILD_GCE macro to check if the GCE variant can be used enable bytepair compression for S60 3.2 and newer
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index bf3ad71..fdbbeb2 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -1146,6 +1146,10 @@ void qt_init(QApplicationPrivate * /* priv */, int)
#endif
S60->wsSession().SetAutoFlush(ETrue);
+#ifdef Q_SYMBIAN_WINDOW_SIZE_CACHE
+ TRAP_IGNORE(S60->wsSession().EnableWindowSizeCacheL());
+#endif
+
S60->updateScreenSize();