clarify parameters
This commit is contained in:
parent
0086c20529
commit
1559c72618
3 changed files with 6 additions and 6 deletions
|
@ -131,8 +131,8 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
function changeImage(image) {
|
||||
let img = imageProxyModel.getImage(image);
|
||||
function changeImage(index) {
|
||||
let img = imageProxyModel.getImage(index);
|
||||
root.image = img;
|
||||
console.log(img.filePath.toString());
|
||||
}
|
||||
|
|
|
@ -147,8 +147,8 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
function changePresentation(presentation) {
|
||||
let pres = presProxyModel.getPresentation(presentation);
|
||||
function changePresentation(index) {
|
||||
let pres = presProxyModel.getPresentation(index);
|
||||
root.presentation = pres;
|
||||
console.log(pres.filePath.toString());
|
||||
updatePageCount(presentationPreview.frameCount);
|
||||
|
|
|
@ -224,8 +224,8 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
function changeVideo(video) {
|
||||
let vid = videoProxyModel.getVideo(video);
|
||||
function changeVideo(index) {
|
||||
let vid = videoProxyModel.getVideo(index);
|
||||
root.video = vid;
|
||||
mpvLoadingTimer.restart();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue