on xenial help sign in
fix testPhoneStage
37d6ae4Michael Zanetti
tests/qmltests/Stage/tst_PhoneStage.qml+4−5
@@ -31,6 +31,8 @@ Item {
31
31
32 property var greeter: { fullyShown: true }
32 property var greeter: { fullyShown: true }
33
33
34+ readonly property var topLevelSurfaceList: WorkspaceManager.activeWorkspace.windowModel
35+
34 ApplicationMenuDataLoader {
36 ApplicationMenuDataLoader {
35 id: appMenuData
37 id: appMenuData
36 }
38 }
@@ -45,11 +47,8 @@ Item {
45 orientations: Orientations {}
47 orientations: Orientations {}
46 applicationManager: ApplicationManager
48 applicationManager: ApplicationManager
47 mode: "staged"
49 mode: "staged"
48− topLevelSurfaceList: TopLevelWindowModel {
49− id: topLevelSurfaceList
50+ topLevelSurfaceList: root.topLevelSurfaceList
50− applicationManager: ApplicationManager
51+
51− surfaceManager: SurfaceManager
52− }
53 Component.onCompleted: {
52 Component.onCompleted: {
54 ApplicationManager.startApplication("unity8-dash");
53 ApplicationManager.startApplication("unity8-dash");
55 }
54 }