adding a connection for the presentationWindow

This commit is contained in:
Chris Cochrun 2022-08-24 11:14:29 -05:00
parent 3012ec31f4
commit 2f0ce840be

View file

@ -27,8 +27,13 @@ Window {
imageSource: SlideObject.imageBackground imageSource: SlideObject.imageBackground
videoSource: SlideObject.videoBackground videoSource: SlideObject.videoBackground
text: SlideObject.text text: SlideObject.text
}
/* Component.onCompleted: slideItem = presentationSlide */ Connections {
target: SlideObject
onVideoBackgroundChanged: {
loadVideo();
}
} }
function loadVideo() { function loadVideo() {