No longer expand the first folder in the torrent content list (Thanks Ahmad)

This commit is contained in:
Christophe Dumez
2010-12-16 20:45:51 +00:00
parent 53f46875d8
commit 8298b62f56
2 changed files with 1 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
for checking (closes #602938)
- BUGFIX: Fix some 'File Not found' warning in the Web UI
- BUGFIX: Fix dangerous usage of vector iterator
- BUGFIX: No longer expand the first folder in the torrent content list
* Sun Dec 5 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.5.1
- BUGFIX: Fix possible crash when right-clicking on a torrent

View File

@@ -247,8 +247,6 @@ void PropertiesWidget::loadTorrentInfos(const QTorrentHandle &_h) {
loadUrlSeeds();
// List files in torrent
PropListModel->setupModelData(h.get_torrent_info());
// Expand first item if possible
filesList->expand(PropListModel->index(0, 0));
}
} catch(invalid_handle& e) {