on xenial help sign in
Clean the screenshot on exit
commitcc68b6690f2ae28dd6ee6a430598f54d88f40702 authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 23 Apr 2015, 13:22 (12 years ago) parente8165fe
1 file changed+3
tests/qmltests/Stages/tst_ApplicationWindow.qml+3
tests/qmltests/Stages/tst_ApplicationWindow.qml+3
@@ -35,6 +35,9 @@ Rectangle {
3535 root.fakeApplication.manualSurfaceCreation = true;
3636 root.fakeApplication.setState(ApplicationInfoInterface.Starting);
3737 }
38+ Component.onDestruction: {
39+ applicationWindowLoader.item.removeScreenshot();
40+ }
3841 property QtObject fakeApplication: null
3942 readonly property var fakeSession: fakeApplication ? fakeApplication.session : null
4043