From daf2e552464a3f85d2009bf055040654b6eebb40 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 2 Jun 2019 13:22:18 +0200 Subject: [PATCH] [branding] Be more chatty in example slideshow - Log when the timer fires and the slide advances - Add a start() function (unused at this moment, will be called from C++ at the right time) --- src/branding/default/show.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/branding/default/show.qml b/src/branding/default/show.qml index b724a4832..7e04970ea 100644 --- a/src/branding/default/show.qml +++ b/src/branding/default/show.qml @@ -24,12 +24,17 @@ Presentation { id: presentation + function nextSlide() { + console.log("Next slide"); + presentation.goToNextSlide(); + } + Timer { id: advanceTimer interval: 5000 running: false repeat: true - onTriggered: presentation.goToNextSlide() + onTriggered: nextSlide() } Slide {