chore(StatusQ/MovableModel): fix index creation in data() method

This commit is contained in:
Michał Cieślak 2024-02-06 11:15:13 +01:00 committed by Michał
parent ca90636384
commit 3859c5c76e
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ QVariant MovableModel::data(const QModelIndex &index, int role) const
if (m_sourceModel == nullptr)
return {};
return m_sourceModel->data(index, role);
return m_sourceModel->index(index.row(), index.column()).data(role);
}
QHash<int, QByteArray> MovableModel::roleNames() const