adding idx to all models

This commit is contained in:
Chris Cochrun 2023-02-24 14:53:05 -06:00
parent b80ee44abc
commit d633a25ebe
6 changed files with 22 additions and 1 deletions

View file

@ -219,6 +219,12 @@ ImageSqlModel *ImageProxyModel::imageModel() {
return m_imageModel;
}
QModelIndex ImageProxyModel::idx(int row) {
QModelIndex idx = index(row, 0);
// qDebug() << idx;
return idx;
}
QVariantMap ImageProxyModel::getImage(const int &row) {
return QVariantMap();
}