on xenial help sign in
Clean the screenshot on exit
cc68b66Albert Astals Cid
tests/qmltests/Stages/tst_ApplicationWindow.qml+3
@@ -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);
37 }
37 }
38+ Component.onDestruction: {
39+ applicationWindowLoader.item.removeScreenshot();
40+ }
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
40
43