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

Loading…
Cancel
Save