Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-10 21:08:10 -07:00
parent f914f7680a
commit 37663910c1
5 changed files with 44 additions and 20 deletions
@@ -125,7 +125,7 @@ namespace Camera
});
if (cameraIt != m_cameraItems.end())
{
int listIndex = cameraIt - m_cameraItems.begin();
int listIndex = aznumeric_cast<int>(cameraIt - m_cameraItems.begin());
beginRemoveRows(QModelIndex(), listIndex, listIndex);
m_cameraItems.erase(cameraIt);
endRemoveRows();