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:
parent
7184456f9a
commit
79e9076274
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user