Using the typedef ModelItemValues for "QHash<int, QVariant>".

This commit is contained in:
2026-01-04 17:48:27 +01:00
parent 2702b9c835
commit 3e6273cb7d
15 changed files with 60 additions and 49 deletions

View File

@ -20,7 +20,7 @@ RemoveRowsCommand::RemoveRowsCommand(TableModel* model,
const int rowPosition = startRow + row;
QModelIndex index = m_tableModel->index(rowPosition, 0);
QHash<int, QVariant> values = m_tableModel->getItemValues(index);
ModelItemValues values = m_tableModel->getItemValues(index);
m_valueList.append(values);
}