using getItem directly since QVariantMaps work now in 0.6 of cxxqt

This commit is contained in:
Chris Cochrun 2024-01-16 13:54:09 -06:00
parent 80f4b47fd0
commit 60b89a84d7
3 changed files with 7 additions and 4 deletions

View file

@ -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);