summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-10-09 16:39:40 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-09 17:29:24 (GMT)
commit1fb2cc6241d715a641dd6bee48eb9bcafaf558b1 (patch)
treeadf0bb7bd2a4cee0f339970329ca29f8ac763d74
parent53c265f7c35c613de71c336ed95b04da30c8b602 (diff)
downloadQt-1fb2cc6241d715a641dd6bee48eb9bcafaf558b1.zip
Qt-1fb2cc6241d715a641dd6bee48eb9bcafaf558b1.tar.gz
Qt-1fb2cc6241d715a641dd6bee48eb9bcafaf558b1.tar.bz2
Workaround for softkeys not working in modal dialogs on S60 5.0
Set the softkey container window to be selectable even when pointer is grabbed (via window server setting) Task-number: QT-2203 Reviewed-by: Espen Riskedal (cherry picked from commit 6ce22194f16ce8e2586e3787560de051064d7787)
-rw-r--r--src/gui/kernel/qsoftkeymanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qsoftkeymanager.cpp b/src/gui/kernel/qsoftkeymanager.cpp
index 265f971..88cc7ae 100644
--- a/src/gui/kernel/qsoftkeymanager.cpp
+++ b/src/gui/kernel/qsoftkeymanager.cpp
@@ -201,6 +201,7 @@ bool QSoftKeyManager::event(QEvent *e)
void QSoftKeyManagerPrivate::updateSoftKeys_sys(const QList<QAction*> &softkeys)
{
CEikButtonGroupContainer* nativeContainer = S60->buttonGroupContainer();
+ nativeContainer->DrawableWindow()->SetPointerCapturePriority(1); //keep softkeys available in modal dialog
QT_TRAP_THROWING(nativeContainer->SetCommandSetL(R_AVKON_SOFTKEYS_EMPTY_WITH_IDS));
int position = -1;