on xenial help sign in
Specify the screenshot size and remove debug print
0735466Daniel d'Andrada
qml/Stages/ApplicationWindow.qml+3−1
@@ -112,7 +112,9 @@ Item {
112 source = "image://application/" + root.application.appId + "/" + timeMs;
112 source = "image://application/" + root.application.appId + "/" + timeMs;
113 }
113 }
114
114
115− onSourceChanged: { console.log("screenshotImage.source = " + source); }
115+ // Save memory by using a half-resolution (thus quarter size) screenshot
116+ sourceSize.width: root.width / 2
117+ sourceSize.height: root.height / 2
116 }
118 }
117
119
118 Loader {
120 Loader {