summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2011-01-17 10:52:14 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-01-18 08:33:38 (GMT)
commit8ba8cbe7605e2ea75a0a30c11ffbab7f1ba93373 (patch)
treefe03a34e83fd9bc18749eb22f290f55b78d1f324
parentec2738b658d25d9fd45cc46cbc19a30e4a39d499 (diff)
downloadQt-8ba8cbe7605e2ea75a0a30c11ffbab7f1ba93373.zip
Qt-8ba8cbe7605e2ea75a0a30c11ffbab7f1ba93373.tar.gz
Qt-8ba8cbe7605e2ea75a0a30c11ffbab7f1ba93373.tar.bz2
QTBUG-16110 updating the softkeys when app comes to foreground
When an app is in the background and creates a window with softkeys, the softkeys are not updated when the app comes to the foreground, so they look faded. This change updates the softkeys when the app comes to the forground. Task-number: QTBUG-16110 Reviewed-by: Jason Barron (cherry picked from commit 37faa3ba7c66d14e1ecbf75e93d9f0d27fa57a76)
-rw-r--r--src/gui/kernel/qapplication_s60.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp
index 4793437..6b8f309 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -2017,6 +2017,9 @@ int QApplicationPrivate::symbianProcessWsEvent(const QSymbianEvent *symbianEvent
S60->wsSession().SetPointerCursorMode(EPointerCursorNormal);
}
#endif
+#ifdef QT_SOFTKEYS_ENABLED
+ QSoftKeyManager::updateSoftKeys();
+#endif
break;
case EEventFocusLost:
if (callSymbianEventFilters(symbianEvent))