tst_QWidget::tabOrderWithProxyOutOfOrder: Ensure Qt::TabFocusAllControls
The test requires Qt::TabFocusAllControls, so Qt::TabFocusTextControls and/or Qt::TabFocusListControls, which is the default on macOS, is not sufficient. Change-Id: Iaf84c7ba67b978b942f396911048716417c38c03 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 283cfe0b80f83833a549d79e2787f5b936d90236) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>bb10
parent
bab5421dbf
commit
964b16e6d3
|
|
@ -2591,6 +2591,9 @@ void tst_QWidget::tabOrderWithCompoundWidgets()
|
|||
|
||||
void tst_QWidget::tabOrderWithProxyOutOfOrder()
|
||||
{
|
||||
if (QGuiApplication::styleHints()->tabFocusBehavior() != Qt::TabFocusAllControls)
|
||||
QSKIP("Test requires Qt::TabFocusAllControls tab focus behavior");
|
||||
|
||||
Container container;
|
||||
container.setWindowTitle(QLatin1String(QTest::currentTestFunction()));
|
||||
container.setObjectName(QLatin1StringView("Container"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue