1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Fix possible crash in TorrentContentModel

This commit is contained in:
Christophe Dumez 2012-03-07 08:21:01 -08:00
parent 85167c9043
commit 3389820c73

View File

@ -252,7 +252,6 @@ void TorrentContentModel::clear()
{
qDebug("clear called");
beginResetModel();
qDeleteAll(m_filesIndex);
m_filesIndex.clear();
m_rootItem->deleteAllChildren();
endResetModel();