Commit cf2628fe authored by Andrew Voznytsa's avatar Andrew Voznytsa

Fix target for onImageFileChanged

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