summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.h
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@theqtcompany.com>2015-08-04 13:37:00 +0200
committerRichard Moe Gustavsen <richard.gustavsen@theqtcompany.com>2015-08-11 07:46:12 +0000
commit7f0f6380b132be76e6d5293b7b357918b7cb3d56 (patch)
treeaae05a4d4c2a07abc0e680ff20947eee39ae5801 /tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.h
parent22e752bada2b1f83f94b95c3473b6c3fe13cd7c5 (diff)
QComboBox: make editable comboboxes usable with input methods
QComboBox uses a QLineEdit for text editing. But while editing, the combobox is the widget having focus, not the line edit. Instead the combobox forwards all the IM events to the line edit internally. This causes a problem since the line edit will not be able to update the platforms IM state in QWidget::updateMicroFocus() since it doesn't have focus. The result will be that the platforms IM state will get out of sync with the QLineEdit. This patch will add the missing connections that lets QComboBox update the platforms IM state when the inner QLineEdit signals that its needed. Change-Id: Ic3e0fdbf155d4dbeab31e2cd859f6e425ae87375 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.h')
0 files changed, 0 insertions, 0 deletions