diff options
author | BogDan Vatra <bogdan@kde.org> | 2015-07-07 16:23:21 +0300 |
---|---|---|
committer | BogDan Vatra <bogdan@kde.org> | 2015-07-30 07:06:27 +0000 |
commit | d800047dc57a773149545d3705a70419884feb46 (patch) | |
tree | 0703f95ff37d332a47bb14935f79ec10be1d1b4b /src | |
parent | 17caa9419045f88baceae6555deadfcf24f5d1b1 (diff) |
QLineEdit should inherit the input methods from QComboBox.
Task-number: QTBUG-39088
Change-Id: I4dfe9a052c20a4cb0a9d6b0d3337cb5095a3694f
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/widgets/qcombobox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/widgets/qcombobox.cpp b/src/widgets/widgets/qcombobox.cpp index cc4c3416f0..17762eb39d 100644 --- a/src/widgets/widgets/qcombobox.cpp +++ b/src/widgets/widgets/qcombobox.cpp @@ -1764,6 +1764,7 @@ void QComboBox::setLineEdit(QLineEdit *edit) delete d->lineEdit; d->lineEdit = edit; + qt_widget_private(d->lineEdit)->inheritsInputMethodHints = 1; if (d->lineEdit->parent() != this) d->lineEdit->setParent(this); connect(d->lineEdit, SIGNAL(returnPressed()), this, SLOT(_q_returnPressed())); |