diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-11-11 11:36:33 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-11-18 06:00:57 (GMT) |
commit | 767518eff63a13038a805f5fc403ec98f0635433 (patch) | |
tree | 20d2f3086e3fb5863a179b0a0a46a7860c15713f | |
parent | 09c8171ba0de0e29667254fde9497d08c027eb0a (diff) | |
download | Qt-767518eff63a13038a805f5fc403ec98f0635433.zip Qt-767518eff63a13038a805f5fc403ec98f0635433.tar.gz Qt-767518eff63a13038a805f5fc403ec98f0635433.tar.bz2 |
Fix for qmessagebox softkey dimming in Symbian.
QMessageBox softkeys gets dimmed by TAknPopupFader since we currently
have one global softkey instance.
Task-number: QTBUG-5691
Reviewed-by: Jason Barron
(cherry picked from commit 05920c102d506378401a383aa820cabc9d0419c5)
-rw-r--r-- | src/gui/kernel/qsoftkeymanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qsoftkeymanager.cpp b/src/gui/kernel/qsoftkeymanager.cpp index 6d148fe..22ac319 100644 --- a/src/gui/kernel/qsoftkeymanager.cpp +++ b/src/gui/kernel/qsoftkeymanager.cpp @@ -213,12 +213,13 @@ void QSoftKeyManagerPrivate::updateSoftKeys_sys(const QList<QAction*> &softkeys) CEikButtonGroupContainer* nativeContainer = S60->buttonGroupContainer(); nativeContainer->DrawableWindow()->SetOrdinalPosition(0); nativeContainer->DrawableWindow()->SetPointerCapturePriority(1); //keep softkeys available in modal dialog + nativeContainer->DrawableWindow()->SetFaded(EFalse, RWindowTreeNode::EFadeIncludeChildren); int position = -1; bool needsExitButton = true; QT_TRAP_THROWING( //Using -1 instead of EAknSoftkeyEmpty to avoid flickering. - nativeContainer->SetCommandL(0, -1, KNullDesC); + nativeContainer->SetCommandL(0, -1, KNullDesC); nativeContainer->SetCommandL(2, -1, KNullDesC); ); |