Browse Source

Fix target for onImageFileChanged

QGC4.4
Andrew Voznytsa 5 years ago
parent
commit
cf2628fe4c
  1. 3
      src/FlightDisplay/FlightDisplayViewVideo.qml

3
src/FlightDisplay/FlightDisplayViewVideo.qml

@ -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)) {

Loading…
Cancel
Save