diff --git a/src/qml/presenter/Presentation.qml b/src/qml/presenter/Presentation.qml index 93f5671..a467b88 100644 --- a/src/qml/presenter/Presentation.qml +++ b/src/qml/presenter/Presentation.qml @@ -151,10 +151,10 @@ Item { Connections { target: SlideObject - onVideoBackgroundChanged: { + function onVideoBackgroundChanged() { loadVideo(); } - onIsPlayingChanged: { + function onIsPlayingChanged() { if(SlideObject.isPlaying) previewSlide.playVideo(); pauseVideo(); diff --git a/src/qml/presenter/PresentationWindow.qml b/src/qml/presenter/PresentationWindow.qml index dbe0200..82d8980 100644 --- a/src/qml/presenter/PresentationWindow.qml +++ b/src/qml/presenter/PresentationWindow.qml @@ -38,10 +38,10 @@ Window { Connections { target: SlideObject - onVideoBackgroundChanged: { + function onVideoBackgroundChanged() { loadVideo(); } - onIsPlayingChanged: { + function onIsPlayingChanged() { if(SlideObject.isPlaying) presentationSlide.playVideo(); pauseVideo();