Fixed Test for QStyleSheetStyle after refactor merge

Task-number: QTBUG-21468

Change-Id: I869ae07c834f6d76180d2e29871b8dc9ccb3f523
Reviewed-on: http://codereview.qt-project.org/4963
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Matthew Cattell <matthew.cattell@nokia.com>
bb10
Holger Ihrig 2011-09-15 11:49:27 +02:00 committed by Qt by Nokia
parent 79b19fd859
commit fb59d866c2
2 changed files with 1 additions and 2 deletions

View File

@ -5,4 +5,3 @@ QT += gui-private
SOURCES += tst_qstylesheetstyle.cpp
RESOURCES += resources.qrc
requires(contains(QT_CONFIG,private_tests))
CONFIG += insignificant_test #See QTBUG-21424

View File

@ -857,7 +857,7 @@ void tst_QStyleSheetStyle::hoverColors()
QApplication::setActiveWindow(&frame);
QTest::qWait(60);
//move the mouse inside the widget, it should be colored
QTest::mouseMove ( widget, QPoint(5,5));
QTest::mouseMove ( widget, QPoint(6,6));
QTest::qWait(60);
QVERIFY(widget->testAttribute(Qt::WA_UnderMouse));