summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2011-05-10 09:25:31 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2011-05-10 10:55:20 (GMT)
commit79bf29e6b324313827042208c7555c568d2ed3d3 (patch)
treeef1a35c5ed507f4c0a033a15b094714003da66c3 /src
parent6efec3a46684de747528ad0def6a1327a444356c (diff)
downloadQt-79bf29e6b324313827042208c7555c568d2ed3d3.zip
Qt-79bf29e6b324313827042208c7555c568d2ed3d3.tar.gz
Qt-79bf29e6b324313827042208c7555c568d2ed3d3.tar.bz2
Update softkeys after orientation switch.
This is needed to render the softkeys correctly in case the softkeys have icons. Task-number: QTBUG-19150 Reviewed-by: Sami Merila
Diffstat (limited to 'src')
-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 2221500..d6cafbd 100644
--- a/src/gui/kernel/qapplication_s60.cpp
+++ b/src/gui/kernel/qapplication_s60.cpp
@@ -1509,6 +1509,10 @@ void QSymbianControl::HandleResourceChange(int resourceType)
#ifdef Q_WS_S60
case KEikDynamicLayoutVariantSwitch:
{
+#ifdef QT_SOFTKEYS_ENABLED
+ // Update needed just in case softkeys contain icons
+ QSoftKeyManager::updateSoftKeys();
+#endif
handleClientAreaChange();
// Send resize event to trigger desktopwidget workAreaResized signal
if (qt_desktopWidget) {