@@ -42,22 +42,6 @@ Item {
42 surface: model.surface
42 surface: model.surface
43 promptSurfaces: model.application.promptSurfaces
43 promptSurfaces: model.application.promptSurfaces
45− property bool appHasCreatedASurface: false
49− if (!appHasCreatedASurface) {
50− surface.visible = false; // hide until splash screen removed
51− appHasCreatedASurface = true;
56− function revealSurface() {
57− surface.visible = true;
58− splashLoader.source = "";
62 target: surfaceContainer.surface
46 target: surfaceContainer.surface
63 property: "anchors.topMargin"
47 property: "anchors.topMargin"
@@ -77,12 +61,6 @@ Item {
77 value: root.interactive
61 value: root.interactive
80− Timer { //FIXME - need to delay removing splash screen to allow surface resize to complete
81− id: surfaceRevealDelay
83− onTriggered: surfaceContainer.revealSurface()
86 Connections {
64 Connections {
87 target: surface
65 target: surface
88 // FIXME: I would rather not need to do this, but currently it doesn't get
66 // FIXME: I would rather not need to do this, but currently it doesn't get
@@ -117,36 +95,6 @@ Item {
125− name: "noSurfaceYet"
126− when: !surfaceContainer.appHasCreatedASurface
128− script: { splashLoader.setSource("Splash.qml", { "name": model.name, "image": model.icon }); }
133− when: surfaceContainer.appHasCreatedASurface && (surfaceContainer.surface !== null)
134− StateChangeScript { script: { surfaceRevealDelay.start(); } }
137− name: "surfaceLostButAppStillAlive"
138− when: surfaceContainer.appHasCreatedASurface && (surfaceContainer.surface === null)
139− // TODO - use app snapshot
142− state: "noSurfaceYet"
147− anchors.fill: surfaceContainer
150 DraggingArea {
98 DraggingArea {
151 id: dragArea
99 id: dragArea
152 anchors.fill: parent
100 anchors.fill: parent