Allow transfer list text color changes through QSS

This commit is contained in:
Prince Gupta
2019-12-16 22:15:08 +05:30
committed by sledgehammer999
parent 89de23718b
commit 85c1a9dbe0
6 changed files with 299 additions and 1 deletions

View File

@@ -177,6 +177,11 @@ CreateTorrentParams::CreateTorrentParams(const AddTorrentParams &params)
savePath = Session::instance()->defaultSavePath();
}
uint BitTorrent::qHash(const BitTorrent::TorrentState key, const uint seed)
{
return ::qHash(static_cast<std::underlying_type_t<TorrentState>>(key), seed);
}
// TorrentHandle
const qreal TorrentHandle::USE_GLOBAL_RATIO = -2.;