diff options
author | Shane Kearns <shane.kearns@sosco.com> | 2009-10-09 16:39:40 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@sosco.com> | 2009-10-09 16:43:02 (GMT) |
commit | 6ce22194f16ce8e2586e3787560de051064d7787 (patch) | |
tree | 4547560783efeddea716b0d1cb29da0a9639083d /src/gui | |
parent | e19341924f93304c0d8ee45ff0d2dd9539cfb2b5 (diff) | |
download | Qt-6ce22194f16ce8e2586e3787560de051064d7787.zip Qt-6ce22194f16ce8e2586e3787560de051064d7787.tar.gz Qt-6ce22194f16ce8e2586e3787560de051064d7787.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
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qsoftkeymanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qsoftkeymanager.cpp b/src/gui/kernel/qsoftkeymanager.cpp index cd3ad22..1214f08 100644 --- a/src/gui/kernel/qsoftkeymanager.cpp +++ b/src/gui/kernel/qsoftkeymanager.cpp @@ -200,6 +200,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; |