qt5base-lts/tests/auto/other
Andy Shaw bd591064be Use QPersistentModelIndex for storing a model index
QModelIndex is not safe to be used to store an index as it is designed
to be discarded right after use as the index information can change.

Therefore a QPersistentModelIndex should be used instead to store the
index. Subsequently the m_index does not need to be updated whenever
the model changes anymore as this is already done for us.

Task-number: QTBUG-49907
Change-Id: Icc93e410de2821c503ea15a7a1dd9ae32634914e
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
2016-11-17 06:48:31 +00:00
..
android Update copyright headers 2015-02-11 06:49:51 +00:00
atwrapper Update copyright headers 2015-02-11 06:49:51 +00:00
compiler qcompilerdetection.h: retract Q_COMPILER_DEFAULT_MEMBERS for MSVC < 2015 2016-09-03 05:11:40 +00:00
gestures Autotest: Enable make check on rhel 7.1 2016-02-11 05:47:38 +00:00
lancelot Extend tested formats in lancelot 2016-09-27 17:26:03 +00:00
languagechange Tests: Always verify whether QTemporaryDir/File creation succeeded. 2015-09-28 15:05:43 +00:00
macgui don't rely on transitive dependencies 2016-01-08 18:51:02 +00:00
macnativeevents Blacklist tst_MacNativeEvents::testMouseEnter 2016-10-12 08:17:16 +00:00
macplist Update copyright headers 2015-02-11 06:49:51 +00:00
modeltest Various tests: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-28 13:18:55 +00:00
networkselftest Merge remote-tracking branch 'origin/5.5' into 5.6 2016-01-19 10:03:01 +01:00
qaccessibility Use QPersistentModelIndex for storing a model index 2016-11-17 06:48:31 +00:00
qaccessibilitylinux Enable tst_qaccessibilitylinux 2015-09-26 00:50:44 +00:00
qaccessibilitymac Fix OS X 10.11 (Xcode 7.1) build issues due to strongly typed enums 2015-11-16 14:26:43 +00:00
qcomplextext Various tests: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-28 13:18:55 +00:00
qfocusevent Update copyright headers 2015-02-11 06:49:51 +00:00
qnetworkaccessmanager_and_qprogressdialog Update copyright headers 2015-02-11 06:49:51 +00:00
qobjectperformance Update copyright headers 2015-02-11 06:49:51 +00:00
qobjectrace Fix for race condition in signal activation 2016-07-29 06:09:22 +00:00
qprocess_and_guieventloop tst_QProcess_and_GuiEventLoop: Added flag QT_NO_PROCESS 2015-09-09 07:15:15 +00:00
qsharedpointer_and_qwidget Update copyright headers 2015-02-11 06:49:51 +00:00
qtokenautomaton Update copyright headers 2015-02-11 06:49:51 +00:00
qvariant_common Update copyright headers 2015-02-11 06:49:51 +00:00
toolsupport Enable a test for QFilePrivate::fileName offset on 32 bit Linux 2015-12-23 14:36:15 +00:00
windowsmobile Various tests: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-28 13:18:55 +00:00
other.pro Fix tests for build with -no-gui 2016-03-23 06:52:46 +00:00