testing to see where cpp is used

This commit is contained in:
Chris Cochrun 2024-01-16 13:53:29 -06:00
parent 1ab93122a5
commit d1c6af0d70

View file

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