Browse Source

Fix possible crash in TorrentContentModel

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
3389820c73
  1. 1
      src/torrentcontentmodel.cpp

1
src/torrentcontentmodel.cpp

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

Loading…
Cancel
Save