mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-25 14:04:23 +00:00
Fix possible crash in TorrentContentModel
This commit is contained in:
parent
85167c9043
commit
3389820c73
@ -252,7 +252,6 @@ void TorrentContentModel::clear()
|
||||
{
|
||||
qDebug("clear called");
|
||||
beginResetModel();
|
||||
qDeleteAll(m_filesIndex);
|
||||
m_filesIndex.clear();
|
||||
m_rootItem->deleteAllChildren();
|
||||
endResetModel();
|
||||
|
Loading…
x
Reference in New Issue
Block a user