qt6-bb10/tests/auto/widgets
Giuseppe D'Angelo 95092e2011 Make setting twice the very same model on QComboBox a no-op
Basically, introduce a small check for this corner-case situation.
Setting a model doesn't just store a pointer, but also resets the current
index, changes the line edit completion model, and so on, and seems silly
to trigger changes in such cases.

[ChangeLog][QtWidgets][QComboBox] A QComboBox does not reset itself any
more when setting the same model more than once.

Change-Id: If028b36cdfaa5552c156dd900e123ca9a04d4e3d
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2014-12-20 06:36:29 +01:00
..
dialogs Enable tst_qfiledialog2 on OSX 2014-11-19 16:13:25 +01:00
effects Update license headers and add new license files 2014-09-24 12:26:19 +02:00
gestures QPanGestureRecognizer: Make the number of touch points a parameter. 2014-11-17 14:38:15 +01:00
graphicsview Fixed a bug where spans did not always work in layouts. 2014-12-09 16:58:58 +01:00
itemviews Make the defaultSectionSize property of QHeaderView style dependent 2014-12-11 10:26:41 +01:00
kernel Merge remote-tracking branch 'origin/5.4' into dev 2014-12-10 07:58:06 +01:00
styles Update license headers and add new license files 2014-09-24 12:26:19 +02:00
util Change bugreports.qt-project.org -> bugreports.qt.io 2014-12-18 09:46:09 +01:00
widgets Make setting twice the very same model on QComboBox a no-op 2014-12-20 06:36:29 +01:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00