qt5base-lts/tests/auto
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
..
cmake Use POSITION_INDEPENDENT_CODE for these tests. 2012-08-13 09:31:16 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
corelib Make rowIntersectsSelection take account of the parent argument. 2012-08-10 22:02:11 +02:00
dbus Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
gui Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
guiapplauncher
network Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
opengl Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
other Implemented QAccessibleTextWidget 2012-08-14 03:56:55 +02:00
printsupport Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
shared Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
sql Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
testlib Make QSignalSpy copy QVariant parameters directly 2012-08-07 11:15:55 +02:00
tools Remove relic QT_VERSION from qmake test 2012-08-14 03:56:55 +02:00
widgets Emit the highlighted signal if the model changes. 2012-08-15 13:58:29 +02:00
xml Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
auto.pro tests: fixed check for QtOpenGL 2012-07-30 06:06:12 +02:00
network-settings.h Fix auto tests build with gcc 4.7 2012-05-23 00:42:20 +02:00
platformquirks.h Remove #ifdef Q_WS_ / include / #endif conditionals. 2012-07-16 16:30:55 +02:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00