testing to see where cpp is used
This commit is contained in:
parent
1ab93122a5
commit
d1c6af0d70
1 changed files with 1 additions and 0 deletions
|
@ -262,6 +262,7 @@ QModelIndex PresentationProxyModel::idx(int row) {
|
|||
}
|
||||
|
||||
QVariantMap PresentationProxyModel::getPresentation(const int &row) {
|
||||
qDebug() << "Getting Presentation through cpp";
|
||||
auto model = qobject_cast<PresentationModel *>(sourceModel());
|
||||
QVariantMap presentation = model->getItem(mapToSource(index(row, 0)).row());
|
||||
return presentation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue