Fix couple of warnings
This commit is contained in:
parent
80f751aeea
commit
4b4c95e57e
2 changed files with 2 additions and 2 deletions
|
|
@ -547,7 +547,7 @@ void CrudModel::revert()
|
|||
|
||||
void CrudModel::appendNewRow()
|
||||
{
|
||||
int row = m_rowMapping.size();
|
||||
int row = static_cast<int>(m_rowMapping.size());
|
||||
beginInsertRows(QModelIndex(), row, row);
|
||||
m_rowMapping.emplace_back(allocNewRowKey(), std::vector<Value>(m_roData->cols()));
|
||||
endInsertRows();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue