mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
handle Unknown state
This commit is contained in:
parent
4f8f11c1ee
commit
8b13df21bc
2 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,7 @@ namespace
|
||||||
|
|
||||||
const TorrentStateColorDescriptor colorDescriptors[] =
|
const TorrentStateColorDescriptor colorDescriptors[] =
|
||||||
{
|
{
|
||||||
|
{BitTorrent::TorrentState::Unknown, u"TransferList.Unknown"_s},
|
||||||
{BitTorrent::TorrentState::Downloading, u"TransferList.Downloading"_s},
|
{BitTorrent::TorrentState::Downloading, u"TransferList.Downloading"_s},
|
||||||
{BitTorrent::TorrentState::StalledDownloading, u"TransferList.StalledDownloading"_s},
|
{BitTorrent::TorrentState::StalledDownloading, u"TransferList.StalledDownloading"_s},
|
||||||
{BitTorrent::TorrentState::DownloadingMetadata, u"TransferList.DownloadingMetadata"_s},
|
{BitTorrent::TorrentState::DownloadingMetadata, u"TransferList.DownloadingMetadata"_s},
|
||||||
|
|
|
@ -63,6 +63,7 @@ inline QHash<QString, UIThemeColor> defaultUIThemeColors()
|
||||||
{u"RSS.ReadArticle"_s, {{}, {}}},
|
{u"RSS.ReadArticle"_s, {{}, {}}},
|
||||||
{u"RSS.UnreadArticle"_s, {{}, {}}},
|
{u"RSS.UnreadArticle"_s, {{}, {}}},
|
||||||
|
|
||||||
|
{u"TransferList.Unknown"_s, {Color::Primer::Light::accentEmphasis, Color::Primer::Dark::accentEmphasis}},
|
||||||
{u"TransferList.Downloading"_s, {Color::Primer::Light::successFg, Color::Primer::Dark::successFg}},
|
{u"TransferList.Downloading"_s, {Color::Primer::Light::successFg, Color::Primer::Dark::successFg}},
|
||||||
{u"TransferList.StalledDownloading"_s, {Color::Primer::Light::successEmphasis, Color::Primer::Dark::successEmphasis}},
|
{u"TransferList.StalledDownloading"_s, {Color::Primer::Light::successEmphasis, Color::Primer::Dark::successEmphasis}},
|
||||||
{u"TransferList.DownloadingMetadata"_s, {Color::Primer::Light::successFg, Color::Primer::Dark::successFg}},
|
{u"TransferList.DownloadingMetadata"_s, {Color::Primer::Light::successFg, Color::Primer::Dark::successFg}},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue