mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
- Priority column fixes
This commit is contained in:
parent
9d366c8c7d
commit
4e05b62bbe
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue