From fb59d866c25703f7c3c145f050a64c07600a3244 Mon Sep 17 00:00:00 2001 From: Holger Ihrig Date: Thu, 15 Sep 2011 11:49:27 +0200 Subject: 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 Reviewed-by: Matthew Cattell --- tests/auto/qstylesheetstyle/qstylesheetstyle.pro | 1 - tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/auto/qstylesheetstyle/qstylesheetstyle.pro b/tests/auto/qstylesheetstyle/qstylesheetstyle.pro index 73929f93a7..9dc296a51c 100644 --- a/tests/auto/qstylesheetstyle/qstylesheetstyle.pro +++ b/tests/auto/qstylesheetstyle/qstylesheetstyle.pro @@ -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 diff --git a/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp b/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp index 444c7af493..ed2e768683 100644 --- a/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp +++ b/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp @@ -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)); -- cgit v1.2.3