qt5base-lts/tests/auto/widgets/widgets
Stephen Kelly 351904be50 Emit the highlighted signal if the model changes.
The bug is that the connection to emit that signal can be made
obsolete if the connection is made too early and the model is replaced.
In the bug report, the connection is made by calling view() early (thereby
causing the creation of a view and a QItemSelectionModel which operates on
the built-in QItemSelectionModel, and then connecting to that
QItemSelectionModel), and then when QComboBox::setModel() is called later
the built-in view creates a new QItemSelectionModel for it. The bug was
that that new QItemSelectionModel is not connected to. This patch fixes that
bug.

Task-number: QTBUG-4454
Change-Id: Ibbdb8731f16ab071008b4a19dc2cc7ae03cebc84
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-08-15 13:58:29 +02:00
..
qabstractbutton Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qabstractscrollarea Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qabstractslider Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qabstractspinbox Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qbuttongroup Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcalendarwidget Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcheckbox Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcombobox Emit the highlighted signal if the model changes. 2012-08-15 13:58:29 +02:00
qcommandlinkbutton Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdatetimeedit Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdial Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdialogbuttonbox Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdockwidget Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdoublespinbox Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdoublevalidator Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qfocusframe Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qfontcombobox Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qgroupbox Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qintvalidator Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qlabel Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qlcdnumber Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qlineedit Fix undo and redo in QLineEdit when in password mode 2012-08-15 11:38:37 +02:00
qmainwindow Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qmdiarea Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
qmdisubwindow Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qmenu Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qmenubar Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qplaintextedit Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qprogressbar Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qpushbutton Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qradiobutton Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qregexpvalidator Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qscrollarea Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qscrollbar Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qsizegrip Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qslider Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qspinbox Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qsplitter Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstackedwidget Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstatusbar Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtabbar Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtabwidget Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtextbrowser Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtextedit Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtoolbar tst_QToolBar: fix "might be used uninit'ed" warnings 2012-08-14 08:53:29 +02:00
qtoolbox Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtoolbutton Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
widgets.pro Remove QWorkspace. 2012-03-23 13:22:10 +01:00