Commit d417f81f authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

QAbstractSpinBox::inputMethodQuery(): Consider input method hints set on the spin box.


The derived classes (QSpinBox, QDoubleSpinBox, QDateTimeEdit, QTimeEdit)
set various input method hints on the spin box in the init() methods
of their private classes which did not have any effect since
QAbstractSpinBox::inputMethodQuery() was implemented to return the
hints of the embedded QLineEdit only. Change it so that hints set
on the QAbstractSpinBox are also considered.

Change-Id: I76b7c4d3e0869589c110cf3a0b2c3f94201db5d5
Reviewed-by: default avatarAndy Shaw <andy.shaw@theqtcompany.com>
Reviewed-by: default avatarLiang Qi <liang.qi@theqtcompany.com>
parent 7edd10e6
No related merge requests found
Showing with 18 additions and 1 deletion
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment