Skip to content
Snippets Groups Projects
Commit cf2628fe authored by Andrew Voznytsa's avatar Andrew Voznytsa
Browse files

Fix target for onImageFileChanged

parent 9d55c0f9
No related branches found
No related tags found
No related merge requests found
......@@ -80,10 +80,9 @@ Item {
QGCVideoBackground {
id: videoContent
objectName: "videoContent"
receiver: _videoReceiver
Connections {
target: _videoReceiver
target: QGroundControl.videoManager
onImageFileChanged: {
videoContent.grabToImage(function(result) {
if (!result.saveToFile(QGroundControl.videoManager.imageFile)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment