Remove XFAIL in QGraphicsWidget test for Windows

The XFAILed initStyleOption() case passes on Windows, so do not XFAIL
it there.

Task-number: QTBUG-24297
Change-Id: I9615c408aa7e72b5eb8fe9739903594e45eb5fd7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
Miikka Heikkinen 2012-02-15 15:22:35 +02:00 committed by Qt by Nokia
parent 7184456f9a
commit 79e9076274

View File

@ -1157,8 +1157,10 @@ void tst_QGraphicsWidget::initStyleOption()
bool hasFocus = option.state & QStyle::State_HasFocus;
QCOMPARE(hasFocus, focus);
bool isUnderMouse = option.state & QStyle::State_MouseOver;
#if !defined(Q_OS_WINCE) && !defined(Q_OS_MAC)
#ifndef Q_OS_WINCE
# if !defined(Q_OS_MAC) && !defined(Q_OS_WIN)
QEXPECT_FAIL("all", "QTBUG-22457", Abort);
# endif
QCOMPARE(isUnderMouse, underMouse);
#endif
// if (layoutDirection != Qt::LeftToRight)