summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2011-01-17 10:52:14 (GMT)
committermread <qt-info@nokia.com>2011-01-17 10:55:59 (GMT)
commit37faa3ba7c66d14e1ecbf75e93d9f0d27fa57a76 (patch)
tree389790848b41931b98b1b3efd7eb2f589b7ef747 /src/gui
parent07a22fc4a00901f2ff769346cb1ada6fc8a2bd90 (diff)
downloadQt-37faa3ba7c66d14e1ecbf75e93d9f0d27fa57a76.zip
Qt-37faa3ba7c66d14e1ecbf75e93d9f0d27fa57a76.tar.gz
Qt-37faa3ba7c66d14e1ecbf75e93d9f0d27fa57a76.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
Diffstat (limited to 'src/gui')
-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 789f198..ba06312 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -2016,6 +2016,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))