tests: skip tst_QAction::disableShortcutInMenuAction() on Wayland
QWindow::requestActivate() is not supported. Task-number: QTBUG-107153 Change-Id: Iacdcf4ad4f6da4a5a996f26d3b97fb507a4b116b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit e37baad7fc856d6c5da88020b66a3198969541f5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
7eaba5bb67
commit
97594ea718
@ -412,6 +412,9 @@ void tst_QAction::disableShortcutInMenuAction_data()
|
||||
|
||||
void tst_QAction::disableShortcutInMenuAction()
|
||||
{
|
||||
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||
QSKIP("QWindow::requestActivate() is not supported.");
|
||||
|
||||
QFETCH(QByteArray, property);
|
||||
|
||||
QMainWindow mw;
|
||||
|
Loading…
x
Reference in New Issue
Block a user