summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@digia.com>2014-06-05 11:56:01 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-12 13:00:22 +0200
commit27f1c69a0533160dbe66690f337a45080a035246 (patch)
tree1aa2d7f94f21c28a95f2d6df074413a3c3d882c6
parent0db65e148dcb4d5e5b98475f207d41a287c401a1 (diff)
downloadqt4-tools-27f1c69a0533160dbe66690f337a45080a035246.tar.gz
Windows: Added Comma to list of possible numpad keys
Some keyboard layouts (German and Czech for example) have comma instead of period on the numpad, so this key should also be considered when setting the Qt::KeypadModifer state. Task-number: QTBUG-38248 Change-Id: I06847a02a9334c21784790eae6fd7e1bc6de4099 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> (cherry picked from commit 7e44e4bb4e23758be7c05261e0413365491c6846)
-rw-r--r--src/gui/kernel/qkeymapper_win.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qkeymapper_win.cpp b/src/gui/kernel/qkeymapper_win.cpp
index 33b8d83667..b8ad5017bb 100644
--- a/src/gui/kernel/qkeymapper_win.cpp
+++ b/src/gui/kernel/qkeymapper_win.cpp
@@ -970,6 +970,7 @@ bool QKeyMapperPrivate::translateKeyEvent(QWidget *widget, const MSG &msg, bool
case Qt::Key_Plus:
case Qt::Key_Minus:
case Qt::Key_Period:
+ case Qt::Key_Comma:
case Qt::Key_0:
case Qt::Key_1:
case Qt::Key_2: