mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
Fix missing torrent states.
This commit is contained in:
parent
d76a84048b
commit
5ec2af7b5a
4 changed files with 22 additions and 1 deletions
|
@ -333,6 +333,8 @@ QIcon getIconByState(BitTorrent::TorrentState state)
|
|||
return getQueuedIcon();
|
||||
case BitTorrent::TorrentState::CheckingDownloading:
|
||||
case BitTorrent::TorrentState::CheckingUploading:
|
||||
case BitTorrent::TorrentState::QueuedForChecking:
|
||||
case BitTorrent::TorrentState::CheckingResumeData:
|
||||
return getCheckingIcon();
|
||||
case BitTorrent::TorrentState::Unknown:
|
||||
case BitTorrent::TorrentState::Error:
|
||||
|
@ -378,6 +380,8 @@ QColor getColorByState(BitTorrent::TorrentState state)
|
|||
case BitTorrent::TorrentState::QueuedUploading:
|
||||
case BitTorrent::TorrentState::CheckingDownloading:
|
||||
case BitTorrent::TorrentState::CheckingUploading:
|
||||
case BitTorrent::TorrentState::QueuedForChecking:
|
||||
case BitTorrent::TorrentState::CheckingResumeData:
|
||||
return QColor(0, 128, 128); // Teal
|
||||
case BitTorrent::TorrentState::Unknown:
|
||||
return QColor(255, 0, 0); // red
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue