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
|
@ -609,7 +609,7 @@ Item {
|
|||
return;
|
||||
}
|
||||
case 'presentation': {
|
||||
const pres = presProxyModel.getPresentation(itemIndex);
|
||||
const pres = presProxyModel.presentationModel.getItem(itemIndex);
|
||||
console.log("adding: " + pres.title +
|
||||
" of type " + type +
|
||||
" with " + pres.pageCount + " slides");
|
||||
|
@ -663,7 +663,7 @@ Item {
|
|||
return;
|
||||
}
|
||||
case 'presentation': {
|
||||
const pres = presProxyModel.getPresentation(itemIndex);
|
||||
const pres = presProxyModel.presentationModel.getItem(itemIndex);
|
||||
console.log("adding: " + pres.title +
|
||||
" of type " + type +
|
||||
" with " + pres.pageCount + " slides");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue