on xenial help sign in
fixed surfaceManager in tstShell
5d2d85cNick Dedekind
tests/qmltests/tst_Shell.qml+1−1
@@ -61,7 +61,7 @@ Rectangle {
61 onShellChanged: {
61 onShellChanged: {
62 if (shell) {
62 if (shell) {
63 topLevelSurfaceList = testCase.findInvisibleChild(shell, "topLevelSurfaceList");
63 topLevelSurfaceList = testCase.findInvisibleChild(shell, "topLevelSurfaceList");
64− appMenuData.surfaceManager = testCase.findInvisibleChild(shell, "surfaceManager");
64+ appMenuData.surfaceManager = shell.surfaceManager;
65 panelState = testCase.findInvisibleChild(shell, "panelState");
65 panelState = testCase.findInvisibleChild(shell, "panelState");
66 } else {
66 } else {
67 topLevelSurfaceList = null;
67 topLevelSurfaceList = null;