qtquick: Fix tst_honourGeometryOfHiddenWindow
We want the geometry of the QWindow
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user