QWindowsKeyMapper: replace one magic constant with a symbolic one
authorMarc Mutz <marc.mutz@kdab.com>
Wed, 10 Oct 2012 15:52:21 +0000 (17:52 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 16 Oct 2012 15:31:31 +0000 (17:31 +0200)
commitfb21212f1eeddb9e2f13b7d5b0b4f48147f05412
tree0261c8f34131d1a499879d16b453180a9cded1ca
parent78f946f6dc23185e86d7a59e703cd8b3b6ee0e39
QWindowsKeyMapper: replace one magic constant with a symbolic one

Replace occurrences of a literal 9 that mean 'number of modifier key
combinations' with the new symbolic constant NumMods.

Change-Id: I1e78a1a3c00b81095450ec0557e30751da44c39a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
src/plugins/platforms/windows/qwindowskeymapper.cpp