on xenial help sign in
There's no spreadDelegate_ anymore
86bba40Albert Astals Cid
tests/qmltests/tst_OrientedShell.qml+1−6
@@ -1365,12 +1365,7 @@ Rectangle {
1365 }
1365 }
1366
1366
1367 function findAppWindowForSurfaceId(surfaceId) {
1367 function findAppWindowForSurfaceId(surfaceId) {
1368− // for PhoneStage and TabletStage
1369− var delegate = findChild(shell, "spreadDelegate_" + surfaceId);
1368+ var delegate = findChild(shell, "appDelegate_" + surfaceId);
1370− if (!delegate) {
1371− // for DesktopStage
1372− delegate = findChild(shell, "appDelegate_" + surfaceId);
1373− }
1374 verify(delegate);
1369 verify(delegate);
1375 var appWindow = findChild(delegate, "appWindow");
1370 var appWindow = findChild(delegate, "appWindow");
1376 return appWindow;
1371 return appWindow;