qtquick: Fix tst_honourGeometryOfHiddenWindow

We want the geometry of the QWindow
This commit is contained in:
Sergio Martins
2020-11-18 14:30:08 +00:00
parent 52bf449366
commit ac5f4b871c

View File

@@ -2761,7 +2761,7 @@ void TestDocks::tst_honourGeometryOfHiddenWindow()
d1->show(); d1->show();
Testing::waitForEvent(d1, QEvent::Show); Testing::waitForEvent(d1, QEvent::Show);
QCOMPARE( d1->window()->geometry(), suggestedGeo); QCOMPARE(d1->window()->windowHandle()->geometry(), suggestedGeo);
delete d1->window(); delete d1->window();
} }