qt5base-lts/tests/auto/widgets/itemviews/qlistview
Friedemann Kleint 65ae3de2e1 Fix tst_QListView::setCurrentIndexAfterAppendRowCrash().
The test was half-ported from Qt 4 and #ifdefed out depending
on WINVER. When it became active, it failed since it queries the window
handle too early in the process.

Move the code sending the message into showEvent() to ensure a window
handle exists and parent the listview properly to prevent a leaking
toplevel.

Change-Id: I74aa9ddfd0e88dd31e9258400fc3e473b6e0d92e
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2016-05-24 17:54:13 +00:00
..
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qlistview.pro Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00
tst_qlistview.cpp Fix tst_QListView::setCurrentIndexAfterAppendRowCrash(). 2016-05-24 17:54:13 +00:00