using getItem directly since QVariantMaps work now in 0.6 of cxxqt
This commit is contained in:
parent
80f4b47fd0
commit
60b89a84d7
3 changed files with 7 additions and 4 deletions
|
@ -205,7 +205,7 @@ Item {
|
|||
}
|
||||
|
||||
function changePresentation(index) {
|
||||
let pres = presProxyModel.getPresentation(index);
|
||||
let pres = presProxyModel.presentationModel.getItem(index);
|
||||
root.presentation = pres;
|
||||
console.log(pres.filePath.toString());
|
||||
updatePageCount(presentationPreview.frameCount);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue