summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qdatetimeedit.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-05-28 13:55:45 (GMT)
committeraxis <qt-info@nokia.com>2009-05-28 14:00:24 (GMT)
commit1e96103c5bbd875d9e8607a322409b3abbfb136b (patch)
tree68f170263191242e58f762fe2c2e3f72366326c6 /src/gui/widgets/qdatetimeedit.cpp
parent713833c831fb667fcb6fa4b1aad0dc452d70122f (diff)
downloadQt-1e96103c5bbd875d9e8607a322409b3abbfb136b.zip
Qt-1e96103c5bbd875d9e8607a322409b3abbfb136b.tar.gz
Qt-1e96103c5bbd875d9e8607a322409b3abbfb136b.tar.bz2
Fixed input methods support on all spinbox types.
Diffstat (limited to 'src/gui/widgets/qdatetimeedit.cpp')
-rw-r--r--src/gui/widgets/qdatetimeedit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qdatetimeedit.cpp b/src/gui/widgets/qdatetimeedit.cpp
index 83bec68..4d34691 100644
--- a/src/gui/widgets/qdatetimeedit.cpp
+++ b/src/gui/widgets/qdatetimeedit.cpp
@@ -2390,6 +2390,7 @@ void QDateTimeEditPrivate::init(const QVariant &var)
q->setCalendarPopup(true);
#endif
updateTimeSpec();
+ q->setInputMethodHints(Qt::ImhPreferNumbers);
setLayoutItemMargins(QStyle::SE_DateTimeEditLayoutItem);
}