summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorAri Lehtola <ext-ari.lehtola@nokia.com>2012-02-07 12:58:10 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-02-08 15:49:13 (GMT)
commitfd97c5a83f2baf9186fea39f000492099cba7644 (patch)
tree19393f3d17c9412e0aacca99fa6041dedbf1ec7e /src/gui/kernel
parent5eb95f7f1dfe4cb3e29b42c1c183459c89e82d52 (diff)
downloadQt-fd97c5a83f2baf9186fea39f000492099cba7644.zip
Qt-fd97c5a83f2baf9186fea39f000492099cba7644.tar.gz
Qt-fd97c5a83f2baf9186fea39f000492099cba7644.tar.bz2
Fix for effects in Qt-applications startup
This is part of the solution for reducing flickering in Qt-applications startup. Fix is effective together with changes in platform effects framework. Task-Number: ou1cimx1#951526 Change-Id: Ia8d0544ec30741605efd6f7db035bcea2f36e67a Reviewed-by: Murray Read <ext-murray.2.read@nokia.com> Reviewed-by: Pasi Pentikäinen <ext-pasi.a.pentikainen@nokia.com>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication_s60.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index 38947e1..e22b8c9 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -1946,6 +1946,13 @@ void qt_init(QApplicationPrivate * /* priv */, int)
TSecureId securId = me.SecureId();
S60->uid = securId.operator TUid();
+ // Notify uiaccelerator, that we are qt application. This info is used for
+ // decision making how startup effects are shown.
+ GfxTransEffect::BeginFullScreen(AknTransEffect::ENone,
+ TRect(0, 0, 0, 0),
+ AknTransEffect::EParameterAvkonInternal,
+ AknTransEffect::GfxTransParam(S60->uid, KQtAppExitFlag));
+
// enable focus events - used to re-enable mouse after focus changed between mouse and non mouse app,
// and for dimming behind modal windows
S60->windowGroup().EnableFocusChangeEvents();