Skip tst_QWindow::modalDialogClosingOneOfTwoModal without activation
The test doesn't make much sense on platforms that don't support window activation. Task-number: QTBUG-66849 Change-Id: I875314d026d666173ec345d0864ad41d66179783 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
b625a01a38
commit
eb655b7a1a
@ -1915,8 +1915,8 @@ void tst_QWindow::modalDialog()
|
||||
|
||||
void tst_QWindow::modalDialogClosingOneOfTwoModal()
|
||||
{
|
||||
if (isPlatformWayland())
|
||||
QSKIP("Wayland: This fails. Figure out why.");
|
||||
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||
QSKIP("QWindow::requestActivate() is not supported.");
|
||||
|
||||
QWindow normalWindow;
|
||||
normalWindow.setFramePosition(m_availableTopLeft + QPoint(80, 80));
|
||||
|
Loading…
Reference in New Issue
Block a user