Fix tst_qlistwidget::fastScroll test case
authorMiikka Heikkinen <miikka.heikkinen@digia.com>
Thu, 31 May 2012 08:58:18 +0000 (11:58 +0300)
committerQt by Nokia <qt-info@nokia.com>
Thu, 31 May 2012 23:21:17 +0000 (01:21 +0200)
commit32fa7a54103eef9da9f6eb75274c4ff15793ea44
tree31e7ce9191a12563c13bfc5483f44a7fbf2881ad
parent2a5ec0403c9c79239c3a5c3657e0a73948df9227
Fix tst_qlistwidget::fastScroll test case

tst_qlistwidget::fastScroll fails if the mouse cursor happens to be
over the tested widget, because that causes an item to highlight,
resulting in unexpected region of widget to be painted. Fixed by
forcing the mouse cursor off the widget before the test.

Task-number: QTBUG-24299
Change-Id: I8f45541feda44681179d43eda67d970d5fea4e40
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
tests/auto/widgets/itemviews/qlistwidget/tst_qlistwidget.cpp