summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorjasplin <qt-info@nokia.com>2009-04-23 13:08:08 (GMT)
committerjasplin <qt-info@nokia.com>2009-04-23 13:09:34 (GMT)
commita5c7f0c0ea7dc47cf7cbd740af3dc6b241d68ffb (patch)
treea92cd5a9be7a6d4e2944c98797cf93ca1fb72dcd /src/gui/kernel
parent11eb20de2bbc2bb0809a0238d3124613ffac6ed4 (diff)
downloadQt-a5c7f0c0ea7dc47cf7cbd740af3dc6b241d68ffb.zip
Qt-a5c7f0c0ea7dc47cf7cbd740af3dc6b241d68ffb.tar.gz
Qt-a5c7f0c0ea7dc47cf7cbd740af3dc6b241d68ffb.tar.bz2
Revert "Removed dead code."
This reverts commit 99d243860548d6be8a68dfd027c51530351d12cb. Needed because of commit b51dd5a7b328291c5dbda540ce228e7d867662cb.
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qshortcutmap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qshortcutmap.cpp b/src/gui/kernel/qshortcutmap.cpp
index 1babeb6..ed9654b 100644
--- a/src/gui/kernel/qshortcutmap.cpp
+++ b/src/gui/kernel/qshortcutmap.cpp
@@ -359,6 +359,8 @@ bool QShortcutMap::tryShortcutEvent(QObject *o, QKeyEvent *e)
else
e->ignore();
+ int identicalMatches = d->identicals.count();
+
switch(result) {
case QKeySequence::NoMatch:
return stateWasAccepted;