video_thumbnail works to be set in rust
Since every slide is asking for their own, we don't need to loop through all slides, we just use the index to put the thumbnail into the right slides and emit data changed.
This commit is contained in:
parent
995f9ffc03
commit
060341adb7
3 changed files with 47 additions and 1 deletions
|
@ -12,7 +12,7 @@ Item {
|
|||
property bool showVidBG
|
||||
Component.onCompleted: {
|
||||
if (model.videoBackground != "")
|
||||
SlideModel.thumbnailVideo(model.videoBackground, model.serviceItemId, index);
|
||||
SlideModel.thumbnailVideoRust(model.videoBackground, model.serviceItemId, index, SlideMod);
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue