From 97430e38a669c298f58d64b79b8e67b9bd57f132 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Sun, 22 Jan 2023 14:36:43 -0600 Subject: [PATCH] removing unnecessary stuff and changing slides properly --- src/qml/presenter/MainWindow.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/qml/presenter/MainWindow.qml b/src/qml/presenter/MainWindow.qml index 54c30dc..c2a5610 100644 --- a/src/qml/presenter/MainWindow.qml +++ b/src/qml/presenter/MainWindow.qml @@ -161,13 +161,13 @@ Controls.Page { console.log("index grabbed: " + index); console.log(item); - presentation.stopVideo(); - pWindow.stopVideo(); + /* presentation.stopVideo(); */ + /* pWindow.stopVideo(); */ /* presentation.itemType = item.type; */ console.log("Time to start changing"); ServiceItemModel.activate(index); - SlideObject.changeSlide(slide); + SlideObject.changeSlide(slide, slideId); /* if (item.backgroundType === "video") */ /* { */ @@ -189,13 +189,13 @@ Controls.Page { console.log("index grabbed: " + index); console.log(item); - presentation.stopVideo(); - pWindow.stopVideo(); + /* presentation.stopVideo(); */ + /* pWindow.stopVideo(); */ /* presentation.itemType = item.type; */ console.log("Time to start changing"); ServiceItemModel.activate(currentServiceItem); - SlideObject.changeSlide(item); + SlideObject.changeSlide(item, index); presentation.textIndex = 0; console.log("Slide changed to: " + index); }