mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Display the right icon for active uploads in UI transfer list (Web UI was ok)
This commit is contained in:
parent
6b04005d08
commit
62fad5df87
1 changed files with 2 additions and 0 deletions
|
@ -362,8 +362,10 @@ int TransferListWidget::updateTorrent(int row) {
|
|||
case torrent_status::seeding:
|
||||
if(h.upload_payload_rate() > 0) {
|
||||
s = STATE_SEEDING;
|
||||
listModel->setData(listModel->index(row, TR_NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/skin/uploading.png"))), Qt::DecorationRole);
|
||||
} else {
|
||||
s = STATE_STALLED_UP;
|
||||
listModel->setData(listModel->index(row, TR_NAME), QVariant(QIcon(QString::fromUtf8(":/Icons/skin/stalledUP.png"))), Qt::DecorationRole);
|
||||
}
|
||||
}
|
||||
// Common to both downloads and uploads
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue