mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 21:27:44 +02:00
@ -380,8 +380,8 @@ bool ResourceFolderModel::validateIndex(const QModelIndex& index) const
|
||||
if (!index.isValid())
|
||||
return false;
|
||||
|
||||
size_t row = index.row();
|
||||
if (row < 0 || row >= size())
|
||||
int row = index.row();
|
||||
if (row < 0 || row >= m_resources.size())
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user