From b27b83988b31fb804e8467a0954573aafd0e1efd Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 16 Sep 2022 06:56:26 -0500 Subject: [PATCH] fixing deprecated Connections syntax --- src/qml/presenter/Presentation.qml | 4 ++-- src/qml/presenter/PresentationWindow.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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();