mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-18 17:35:43 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user