Editor: Convert QVector over to QList

In Qt 6 QVector is now a typedef alias for QList, so we can convert these over
to make the semantics explicit.
This commit is contained in:
Lioncache
2025-11-30 15:27:28 -05:00
parent 0e56aa3fa8
commit 43eae548ac
28 changed files with 58 additions and 50 deletions

View File

@@ -44,10 +44,10 @@ void CResourceTableView::DeleteSelected()
// Figure out which indices can actually be deleted
CResourceProxyModel *pProxy = static_cast<CResourceProxyModel*>(model());
CResourceTableModel *pModel = static_cast<CResourceTableModel*>(pProxy->sourceModel());
QVector<CResourceEntry*> ResourcesToDelete;
QVector<CVirtualDirectory*> DirsToDelete;
QList<CResourceEntry*> ResourcesToDelete;
QList<CVirtualDirectory*> DirsToDelete;
for (const QModelIndex Index : List)
for (const QModelIndex& Index : List)
{
const QModelIndex SourceIndex = pProxy->mapToSource(Index);