fixing deprecated Connections syntax
This commit is contained in:
parent
0edda92f21
commit
b27b83988b
2 changed files with 4 additions and 4 deletions
|
@ -151,10 +151,10 @@ Item {
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: SlideObject
|
target: SlideObject
|
||||||
onVideoBackgroundChanged: {
|
function onVideoBackgroundChanged() {
|
||||||
loadVideo();
|
loadVideo();
|
||||||
}
|
}
|
||||||
onIsPlayingChanged: {
|
function onIsPlayingChanged() {
|
||||||
if(SlideObject.isPlaying)
|
if(SlideObject.isPlaying)
|
||||||
previewSlide.playVideo();
|
previewSlide.playVideo();
|
||||||
pauseVideo();
|
pauseVideo();
|
||||||
|
|
|
@ -38,10 +38,10 @@ Window {
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: SlideObject
|
target: SlideObject
|
||||||
onVideoBackgroundChanged: {
|
function onVideoBackgroundChanged() {
|
||||||
loadVideo();
|
loadVideo();
|
||||||
}
|
}
|
||||||
onIsPlayingChanged: {
|
function onIsPlayingChanged() {
|
||||||
if(SlideObject.isPlaying)
|
if(SlideObject.isPlaying)
|
||||||
presentationSlide.playVideo();
|
presentationSlide.playVideo();
|
||||||
pauseVideo();
|
pauseVideo();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue