TorrentContentModel code clean up

This commit is contained in:
Christophe Dumez
2012-08-26 21:39:28 +03:00
parent 12a83e1aec
commit edcfa4df12
3 changed files with 6 additions and 8 deletions

View File

@@ -297,7 +297,7 @@ void TorrentContentModel::setupModelData(const libtorrent::torrent_info& t)
current_parent = new_parent;
}
// Actually create the file
m_filesIndex.push_back(new TorrentContentModelItem(t, fentry, current_parent, i));
m_filesIndex.push_back(new TorrentContentModelItem(fentry, current_parent, i));
}
emit layoutChanged();
}