qt5base-lts/tests/auto/corelib
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
..
animation Merge remote-tracking branch 'origin/stable' into dev 2013-01-22 18:40:13 +01:00
codecs Correctly detect HTML 5 charset attribute in QTextCodec::codecForHtml() 2013-02-12 01:31:26 +01:00
global Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
io QSaveFile: allow saving to a writable file in a non-writable directory 2013-04-05 11:04:35 +02:00
itemmodels Don't call virtual methods after the source model is destroyed. 2013-04-05 16:26:06 +02:00
json Add toJson() formatting argument to QJsonDocument interface 2013-01-26 03:09:27 +01:00
kernel Support connection to functor with multiple operator() 2013-03-19 23:16:38 +01:00
mimetypes QMimeDatabase: pass MatchMode down, to fix MatchContent. 2013-03-01 13:05:11 +01:00
plugin Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
statemachine Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
thread tst_qthread: fix race on "bool visited" 2013-03-29 15:16:47 +01:00
tools Upgrade the bundled PCRE to 8.32 2013-04-01 21:33:29 +02:00
xml Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00