summaryrefslogtreecommitdiffstats
path: root/tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp
diff options
context:
space:
mode:
authorThomas Sondergaard <ts@medical-insight.com>2010-02-05 12:24:13 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-02-05 12:24:13 (GMT)
commita767da6f2d0fbee707f5c2fe896fa501b3da6b07 (patch)
tree67936792de0ca2d1fd28b81450319f5f877cab4d /tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp
parentc6393ddce6fc9df8f52039089cc67699eb95aada (diff)
downloadQt-a767da6f2d0fbee707f5c2fe896fa501b3da6b07.zip
Qt-a767da6f2d0fbee707f5c2fe896fa501b3da6b07.tar.gz
Qt-a767da6f2d0fbee707f5c2fe896fa501b3da6b07.tar.bz2
Fix for number entry in QDateTimeEntry using Shift+KeyPad (QTBUG-7842)
Merge-request: 2300 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
Diffstat (limited to 'tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp')
-rw-r--r--tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp b/tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp
index b92b873..558d4de 100644
--- a/tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp
+++ b/tests/auto/qdatetimeedit/tst_qdatetimeedit.cpp
@@ -3357,6 +3357,8 @@ void tst_QDateTimeEdit::keypadAutoAdvance_data()
QTest::addColumn<Qt::KeyboardModifiers>("modifiers");
QTest::newRow("None") << (Qt::KeyboardModifiers)Qt::NoModifier;
QTest::newRow("Keypad") << (Qt::KeyboardModifiers)Qt::KeypadModifier;
+ // QTBUG-7842: Using KeyPad with shift (numlock off)
+ QTest::newRow("Keypad+Shift") << (Qt::KeyboardModifiers)(Qt::KeypadModifier|Qt::ShiftModifier);
}