on xenial help sign in
fix testPhoneStage
commit37d6ae4b51fb7889686cc1caac6f4763b7a40bb6 authorMichael Zanetti <michael.zanetti@canonical.com> dateMon 27 Mar 2017, 15:38 (10 years ago) parentbfeaf9d
1 file changed+4−5
tests/qmltests/Stage/tst_PhoneStage.qml+4−5
tests/qmltests/Stage/tst_PhoneStage.qml+4−5
@@ -31,6 +31,8 @@ Item {
3131
3232 property var greeter: { fullyShown: true }
3333
34+ readonly property var topLevelSurfaceList: WorkspaceManager.activeWorkspace.windowModel
35+
3436 ApplicationMenuDataLoader {
3537 id: appMenuData
3638 }
@@ -45,11 +47,8 @@ Item {
4547 orientations: Orientations {}
4648 applicationManager: ApplicationManager
4749 mode: "staged"
48− topLevelSurfaceList: TopLevelWindowModel {
49− id: topLevelSurfaceList
50− applicationManager: ApplicationManager
51− surfaceManager: SurfaceManager
52− }
50+ topLevelSurfaceList: root.topLevelSurfaceList
51+
5352 Component.onCompleted: {
5453 ApplicationManager.startApplication("unity8-dash");
5554 }