summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAlessandro Portale <aportale@trolltech.com>2009-05-29 15:08:32 (GMT)
committerAlessandro Portale <aportale@trolltech.com>2009-05-29 15:08:32 (GMT)
commitdc599015e702320cbb868855ba76f37d264dc074 (patch)
tree72377f58bb530806a9b6d94a49002e90d5e446b5 /src/gui/widgets
parent42fbf668b6da3251aea2ce27a25882437b9a4a06 (diff)
downloadQt-dc599015e702320cbb868855ba76f37d264dc074.zip
Qt-dc599015e702320cbb868855ba76f37d264dc074.tar.gz
Qt-dc599015e702320cbb868855ba76f37d264dc074.tar.bz2
Append and push the softKey instead of the empty list
Diffstat (limited to 'src/gui/widgets')
-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();