From 8298b62f56a8f0fec684e6b2242d8b112f7c17dc Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 16 Dec 2010 20:45:51 +0000 Subject: [PATCH] No longer expand the first folder in the torrent content list (Thanks Ahmad) --- Changelog | 1 + src/properties/propertieswidget.cpp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 734fcaa7b..d28e25067 100644 --- a/Changelog +++ b/Changelog @@ -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 - v2.5.1 - BUGFIX: Fix possible crash when right-clicking on a torrent diff --git a/src/properties/propertieswidget.cpp b/src/properties/propertieswidget.cpp index c4055582f..a887fd877 100644 --- a/src/properties/propertieswidget.cpp +++ b/src/properties/propertieswidget.cpp @@ -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) {