From db01276f1db3761dfe504d468cd665be4aa1af2a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 6 Apr 2010 09:28:42 +0000 Subject: [PATCH] Fix default width of file name column in torrent content --- src/propertieswidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/propertieswidget.cpp b/src/propertieswidget.cpp index 2f57c1a41..c30f5564e 100644 --- a/src/propertieswidget.cpp +++ b/src/propertieswidget.cpp @@ -254,7 +254,7 @@ void PropertiesWidget::readSettings() { QSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent")); QVariantList contentColsWidths = settings.value(QString::fromUtf8("TorrentProperties/filesColsWidth"), QVariantList()).toList(); if(contentColsWidths.empty()) { - filesList->header()->resizeSection(0, filesList->width()/2.); + filesList->header()->resizeSection(0, 300); } else { for(int i=0; isetColumnWidth(i, contentColsWidths.at(i).toInt());