mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
committed by
GitHub
parent
66f3cf7e67
commit
e1ebf8374e
@@ -186,6 +186,19 @@ void Preferences::setAlternatingRowColors(const bool b)
|
||||
setValue(u"Preferences/General/AlternatingRowColors"_s, b);
|
||||
}
|
||||
|
||||
bool Preferences::useTorrentStatesColors() const
|
||||
{
|
||||
return value(u"GUI/TransferList/UseTorrentStatesColors"_s, true);
|
||||
}
|
||||
|
||||
void Preferences::setUseTorrentStatesColors(const bool value)
|
||||
{
|
||||
if (value == useTorrentStatesColors())
|
||||
return;
|
||||
|
||||
setValue(u"GUI/TransferList/UseTorrentStatesColors"_s, value);
|
||||
}
|
||||
|
||||
bool Preferences::getProgressBarFollowsTextColor() const
|
||||
{
|
||||
return value(u"GUI/TransferList/ProgressBarFollowsTextColor"_s, false);
|
||||
|
||||
Reference in New Issue
Block a user