diff options
author | Alessandro Portale <aportale@trolltech.com> | 2009-05-29 15:08:32 (GMT) |
---|---|---|
committer | Alessandro Portale <aportale@trolltech.com> | 2009-05-29 15:08:32 (GMT) |
commit | dc599015e702320cbb868855ba76f37d264dc074 (patch) | |
tree | 72377f58bb530806a9b6d94a49002e90d5e446b5 /src/gui/widgets | |
parent | 42fbf668b6da3251aea2ce27a25882437b9a4a06 (diff) | |
download | Qt-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.cpp | 2 |
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(); |