- Priority column fixes

This commit is contained in:
Christophe Dumez 2008-08-19 00:10:56 +00:00
commit 4e05b62bbe
2 changed files with 9 additions and 1 deletions

View file

@ -396,6 +396,10 @@ void DownloadingTorrents::hideOrShowColumn(int index) {
void DownloadingTorrents::hidePriorityColumn(bool hide) {
downloadList->setColumnHidden(PRIORITY, hide);
if(hide)
getActionHoSCol(PRIORITY)->setIcon(QIcon(QString::fromUtf8(":/Icons/button_cancel.png")));
else
getActionHoSCol(PRIORITY)->setIcon(QIcon(QString::fromUtf8(":/Icons/button_ok.png")));
}
// save the hidden columns in settings