- fixed column resizing in torrent addition dialog

This commit is contained in:
Christophe Dumez 2008-07-27 18:07:35 +00:00
commit 3e8ad9eb83
2 changed files with 1 additions and 2 deletions

View file

@ -80,7 +80,7 @@ class torrentAdditionDialog : public QDialog, private Ui_addTorrentDialog{
connect(actionHigh, SIGNAL(triggered()), this, SLOT(highSelection()));
connect(actionMaximum, SIGNAL(triggered()), this, SLOT(maximumSelection()));
torrentContentList->header()->resizeSection(0, 200);
torrentContentList->header()->setResizeMode(0, QHeaderView::Stretch);
//torrentContentList->header()->setResizeMode(0, QHeaderView::Stretch);
QString home = QDir::homePath();
if(home[home.length()-1] != QDir::separator()){
home += QDir::separator();