From 5fac6ef3b27e0ee6581440de3192b62f3f3ce365 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 11 Nov 2009 12:30:46 +0000 Subject: [PATCH] - Minor cleanup --- src/propertieswidget.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/propertieswidget.cpp b/src/propertieswidget.cpp index 777480397..b3111a62e 100644 --- a/src/propertieswidget.cpp +++ b/src/propertieswidget.cpp @@ -193,10 +193,7 @@ void PropertiesWidget::loadTorrentInfos(QTorrentHandle &_h) { std::vector files_priority = loadFilesPriorities(); PropListModel->updateFilesPriorities(files_priority); // Expand first item if possible - if(PropListModel->rowCount()) - filesList->expand(PropListModel->index(0, 0)); - // Increase first column width - //filesList->resizeColumnToContents(0); // does not work + filesList->expand(PropListModel->index(0, 0)); } catch(invalid_handle e) { }