mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Fix possible crash in TorrentContentModel
This commit is contained in:
@@ -252,7 +252,6 @@ void TorrentContentModel::clear()
|
||||
{
|
||||
qDebug("clear called");
|
||||
beginResetModel();
|
||||
qDeleteAll(m_filesIndex);
|
||||
m_filesIndex.clear();
|
||||
m_rootItem->deleteAllChildren();
|
||||
endResetModel();
|
||||
|
||||
Reference in New Issue
Block a user