qtquick: Fix detecting top level geometry

For QtQuick we want the QWindow geometry. For QtWidget it just works,
as the top level widget as the same geometry as the window, unlike
QQuickItem.

Fixes issue #199
This commit is contained in:
Eism
2021-05-24 11:41:43 +01:00
committed by Sergio Martins
parent 1721415799
commit 0ab701bab6
2 changed files with 12 additions and 5 deletions

View File

@@ -933,10 +933,6 @@ void TestDocks::tst_hoverShowsDropIndicators()
auto fw = floatingDockWidget->floatingWindow();
dragFloatingWindowTo(fw, mainWindowCenterPos);
#if defined(Q_OS_WIN32)
if (!isOffscreen())
QEXPECT_FAIL("", "to be fixed", Continue);
#endif
QCOMPARE(dock0->dptr()->frame()->dockWidgetCount(), 2);
}
#endif