From 3cded6c4a90233e214447f769efc4a3524df6872 Mon Sep 17 00:00:00 2001 From: Markku Luukkainen Date: Tue, 26 May 2009 16:08:12 +0200 Subject: Bugfix for mapping keys when there is only one softkey in the stack --- src/gui/widgets/qsoftkeystack_s60.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widgets/qsoftkeystack_s60.cpp b/src/gui/widgets/qsoftkeystack_s60.cpp index a6b885e..e9ca13a 100644 --- a/src/gui/widgets/qsoftkeystack_s60.cpp +++ b/src/gui/widgets/qsoftkeystack_s60.cpp @@ -53,7 +53,7 @@ void QSoftKeyStackPrivate::mapSoftKeys(const QSoftkeySet &top) { if (top.count() == 1) { top.at(0)->setNativePosition(2); - top.at(0)->setQtContextKey(Qt::Key_Context2); + top.at(0)->setQtContextKey(Qt::Key_Context1); } else { // FIX THIS -- cgit v0.12