summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-29 13:45:17 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-10-29 13:48:53 (GMT)
commit76095a14bc84305c69b3eaf8f3953dc683ebe370 (patch)
tree253ea8da2f93ba8fb59c2b33c0e55b98b49f4c9f /src/gui
parentd38ebd566f3a73f280903929d4ac49d255be3aed (diff)
downloadQt-76095a14bc84305c69b3eaf8f3953dc683ebe370.zip
Qt-76095a14bc84305c69b3eaf8f3953dc683ebe370.tar.gz
Qt-76095a14bc84305c69b3eaf8f3953dc683ebe370.tar.bz2
Fix for softkey visibility when dialog launched from fullscreen widget.
Softkeys should be always the topmost window in order to be visible. For example when QMessageBox is launched from fullscreen window, we need to make sure that softkey is located on top of window tree. Task-number: QTBUG-4953 Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui')
-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 a5e8eff..a5a2201 100644
--- a/src/gui/kernel/qsoftkeymanager.cpp
+++ b/src/gui/kernel/qsoftkeymanager.cpp
@@ -207,6 +207,7 @@ bool QSoftKeyManager::event(QEvent *e)
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
QT_TRAP_THROWING(nativeContainer->SetCommandSetL(R_AVKON_SOFTKEYS_EMPTY_WITH_IDS));