From 12fb5592a784891cef7f4323b70a38203282eb7a Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Sun, 23 Apr 2023 07:06:36 -0500 Subject: [PATCH] remove using the old thumbnail creation Since the rust implementation happens on insertion of slides and creates a property for it, it's better as we won't need to create it on the fly. Now we'll just need to move it into a background thread so things will load while ffmpeg creates thumbnails for us. --- src/qml/presenter/PreviewSlideListDelegate.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qml/presenter/PreviewSlideListDelegate.qml b/src/qml/presenter/PreviewSlideListDelegate.qml index 39e52b8..cef3389 100644 --- a/src/qml/presenter/PreviewSlideListDelegate.qml +++ b/src/qml/presenter/PreviewSlideListDelegate.qml @@ -10,10 +10,10 @@ Item { implicitHeight: Kirigami.Units.gridUnit * 6.5 implicitWidth: Kirigami.Units.gridUnit * 9 property bool showVidBG - Component.onCompleted: { - if (model.videoBackground != "") - SlideModel.thumbnailVideoRust(model.videoBackground, model.serviceItemId, index, SlideMod); - } + /* Component.onCompleted: { */ + /* if (model.videoBackground != "") */ + /* SlideModel.thumbnailVideoRust(model.videoBackground, model.serviceItemId, index, SlideMod); */ + /* } */ Rectangle { id: previewHighlight