diff options
author | Oliver Wolff <oliver.wolff@digia.com> | 2014-06-05 09:56:01 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-12 11:00:22 (GMT) |
commit | 27f1c69a0533160dbe66690f337a45080a035246 (patch) | |
tree | 1aa2d7f94f21c28a95f2d6df074413a3c3d882c6 | |
parent | 0db65e148dcb4d5e5b98475f207d41a287c401a1 (diff) | |
download | Qt-27f1c69a0533160dbe66690f337a45080a035246.zip Qt-27f1c69a0533160dbe66690f337a45080a035246.tar.gz Qt-27f1c69a0533160dbe66690f337a45080a035246.tar.bz2 |
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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qkeymapper_win.cpp b/src/gui/kernel/qkeymapper_win.cpp index 33b8d83..b8ad501 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: |