Using the typedef ModelItemValues for "QHash<int, QVariant>".
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user