qt5base-lts/tests/auto
Stephen Kelly 722798a359 Don't call virtual methods after the source model is destroyed.
Calling clear_mapping causes the persistent indexes to be queried, and
mapped using map_to_source, so that they can be restored later. That
is not the appropriate response to the source model being deleted
because there won't be anything to restore.

Simply clear the stored mapping information instead so that the source model
actually exists when mapToSource is called by the framework.

Change-Id: I99692ee7aa9c6714aec45c68fe4a2d62be189d60
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2013-04-05 16:26:06 +02:00
..
android Fix Qt tests for Android. 2013-04-03 10:15:40 +02:00
bic/data Make qaccessible2.h internal. 2013-03-14 19:49:38 +01:00
cmake Test that the CMake files create appropriate version variables. 2013-04-05 14:20:39 +02:00
compilerwarnings/data Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
concurrent QtConcurrent tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:25 +01:00
corelib Don't call virtual methods after the source model is destroyed. 2013-04-05 16:26:06 +02:00
dbus Fix wildcard signal disconnection in QDBusAbstractInterface 2013-03-19 07:03:25 +01:00
gui QtGui tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:42 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network QNetworkInterface auto test: do not abort without session 2013-03-26 10:18:02 +01:00
opengl Merge branch 'dev' into stable 2013-03-20 13:49:28 +01:00
other Cache QAccessibleInterfaces. 2013-04-02 14:32:25 +02:00
printsupport Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
shared Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
sql Fix sql tests in respect to Oracle databases 2013-04-05 11:13:28 +02:00
testlib QtTest tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:20 +01:00
tools Merge branch 'dev' into stable 2013-03-20 13:49:28 +01:00
widgets Stabilize tst_qcompleter. 2013-04-05 11:28:47 +02:00
xml QtXml tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-27 03:54:48 +01:00
auto.pro Check for printsupport module when building according auto tests 2013-02-19 19:20:58 +01:00
network-settings.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtest-config.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
test.pl Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00