Fixed Test for QStyleSheetStyle after refactor merge
authorHolger Ihrig <holger.ihrig@nokia.com>
Thu, 15 Sep 2011 09:49:27 +0000 (11:49 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 16 Sep 2011 06:54:47 +0000 (08:54 +0200)
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>
tests/auto/qstylesheetstyle/qstylesheetstyle.pro
tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp

index 73929f9..9dc296a 100644 (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
index 444c7af..ed2e768 100644 (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));