diff options
author | jasplin <qt-info@nokia.com> | 2009-04-23 13:08:08 (GMT) |
---|---|---|
committer | jasplin <qt-info@nokia.com> | 2009-04-23 13:09:34 (GMT) |
commit | a5c7f0c0ea7dc47cf7cbd740af3dc6b241d68ffb (patch) | |
tree | a92cd5a9be7a6d4e2944c98797cf93ca1fb72dcd /src | |
parent | 11eb20de2bbc2bb0809a0238d3124613ffac6ed4 (diff) | |
download | Qt-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')
-rw-r--r-- | src/gui/kernel/qshortcutmap.cpp | 2 |
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; |