summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
authorA-Team <ateam@pad.test.qt.nokia.com>2010-10-09 22:00:15 (GMT)
committerA-Team <ateam@pad.test.qt.nokia.com>2010-10-09 22:00:15 (GMT)
commitc4876f7b430246d4158528392a7a6f58bb87b23e (patch)
tree5893e5433dbd3f7c9bcbdb61c46e5be9298cf313 /src/gui/dialogs
parente1fead7c4f877308c2cc11131c445a1f7085baf7 (diff)
parent4809920df3c3329d47f595c1287ab44b454abb88 (diff)
downloadQt-c4876f7b430246d4158528392a7a6f58bb87b23e.zip
Qt-c4876f7b430246d4158528392a7a6f58bb87b23e.tar.gz
Qt-c4876f7b430246d4158528392a7a6f58bb87b23e.tar.bz2
Merge branch '4.7-upstream' into 4.7-doc
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/qinputdialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/dialogs/qinputdialog.cpp b/src/gui/dialogs/qinputdialog.cpp
index e996ee9..700b234 100644
--- a/src/gui/dialogs/qinputdialog.cpp
+++ b/src/gui/dialogs/qinputdialog.cpp
@@ -244,6 +244,9 @@ void QInputDialogPrivate::ensureLineEdit()
Q_Q(QInputDialog);
if (!lineEdit) {
lineEdit = new QLineEdit(q);
+#ifndef QT_NO_IM
+ qt_widget_private(lineEdit)->inheritsInputMethodHints = 1;
+#endif
lineEdit->hide();
QObject::connect(lineEdit, SIGNAL(textChanged(QString)),
q, SLOT(_q_textChanged(QString)));
@@ -255,6 +258,9 @@ void QInputDialogPrivate::ensureComboBox()
Q_Q(QInputDialog);
if (!comboBox) {
comboBox = new QComboBox(q);
+#ifndef QT_NO_IM
+ qt_widget_private(comboBox)->inheritsInputMethodHints = 1;
+#endif
comboBox->hide();
QObject::connect(comboBox, SIGNAL(editTextChanged(QString)),
q, SLOT(_q_textChanged(QString)));