@@ -35,6 +35,9 @@ Rectangle {
35 root.fakeApplication.manualSurfaceCreation = true;
35 root.fakeApplication.manualSurfaceCreation = true;
36 root.fakeApplication.setState(ApplicationInfoInterface.Starting);
36 root.fakeApplication.setState(ApplicationInfoInterface.Starting);
38+ Component.onDestruction: {
39+ applicationWindowLoader.item.removeScreenshot();
38 property QtObject fakeApplication: null
41 property QtObject fakeApplication: null
39 readonly property var fakeSession: fakeApplication ? fakeApplication.session : null
42 readonly property var fakeSession: fakeApplication ? fakeApplication.session : null