summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/qsoftkeystack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qsoftkeystack.cpp b/src/gui/widgets/qsoftkeystack.cpp
index c07dd9e..0c5648e 100644
--- a/src/gui/widgets/qsoftkeystack.cpp
+++ b/src/gui/widgets/qsoftkeystack.cpp
@@ -100,7 +100,7 @@ void QSoftKeyStackPrivate::popandPush(QSoftKeyAction *softKey)
{
QSoftkeySet oldSoftKeySet = softKeyStack.pop();
QSoftkeySet newSoftKeySet;
- newSoftKeySet.append(newSoftKeySet);
+ newSoftKeySet.append(softKey);
softKeyStack.push(newSoftKeySet);
if( !isSame(oldSoftKeySet, newSoftKeySet))
setNativeSoftKeys();