@@ -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");
67 topLevelSurfaceList = null;
67 topLevelSurfaceList = null;