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>
bb10
Oliver Wolff 2014-06-05 11:56:01 +02:00 committed by The Qt Project
parent 56a087a1ef
commit 7e44e4bb4e
1 changed files with 1 additions and 0 deletions

View File

@ -893,6 +893,7 @@ bool QWindowsKeyMapper::translateKeyEventInternal(QWindow *window, const MSG &ms
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: