mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-09-04 10:02:18 +00:00
No longer expand the first folder in the torrent content list (Thanks Ahmad)
This commit is contained in:
parent
7294cdafbf
commit
d31f55ae28
@ -253,8 +253,6 @@ void PropertiesWidget::loadTorrentInfos(const QTorrentHandle &_h) {
|
|||||||
loadUrlSeeds();
|
loadUrlSeeds();
|
||||||
// List files in torrent
|
// List files in torrent
|
||||||
PropListModel->setupModelData(h.get_torrent_info());
|
PropListModel->setupModelData(h.get_torrent_info());
|
||||||
// Expand first item if possible
|
|
||||||
filesList->expand(PropListModel->index(0, 0));
|
|
||||||
}
|
}
|
||||||
} catch(invalid_handle& e) {
|
} catch(invalid_handle& e) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user