mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Fix status string for errored torrents.
This commit is contained in:
parent
5b232528cc
commit
bf0319f7b2
4 changed files with 13 additions and 2 deletions
|
@ -342,6 +342,7 @@ QIcon getIconByState(BitTorrent::TorrentState state)
|
|||
case BitTorrent::TorrentState::CheckingResumeData:
|
||||
return getCheckingIcon();
|
||||
case BitTorrent::TorrentState::Unknown:
|
||||
case BitTorrent::TorrentState::MissingFiles:
|
||||
case BitTorrent::TorrentState::Error:
|
||||
return getErrorIcon();
|
||||
default:
|
||||
|
@ -384,6 +385,7 @@ QColor getColorByState(BitTorrent::TorrentState state)
|
|||
else
|
||||
return QColor(79, 148, 205); // Steel Blue 3
|
||||
case BitTorrent::TorrentState::Error:
|
||||
case BitTorrent::TorrentState::MissingFiles:
|
||||
return QColor(255, 0, 0); // red
|
||||
case BitTorrent::TorrentState::QueuedDownloading:
|
||||
case BitTorrent::TorrentState::QueuedUploading:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue