- Tuned lists properties to make sure display is correct

This commit is contained in:
Christophe Dumez 2009-07-12 08:54:33 +00:00
parent 9509bbaed4
commit c3aa2906bb
2 changed files with 4 additions and 0 deletions

View file

@ -55,6 +55,8 @@ FinishedTorrents::FinishedTorrents(QObject *parent, bittorrent *BTSession) : par
finishedListModel->setHeaderData(F_UPLOAD, Qt::Horizontal, tr("Total uploaded", "i.e: Total amount of uploaded data"));
finishedListModel->setHeaderData(F_RATIO, Qt::Horizontal, tr("Ratio"));
finishedList->setModel(finishedListModel);
finishedList->setRootIsDecorated(false);
finishedList->setAllColumnsShowFocus(true);
loadHiddenColumns();
// Hide hash column
finishedList->hideColumn(F_HASH);