mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 13:48:05 -06:00
Allow transfer list text color changes through QSS
This commit is contained in:
committed by
sledgehammer999
parent
89de23718b
commit
85c1a9dbe0
@@ -177,6 +177,11 @@ CreateTorrentParams::CreateTorrentParams(const AddTorrentParams ¶ms)
|
||||
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.;
|
||||
|
||||
@@ -129,6 +129,8 @@ namespace BitTorrent
|
||||
Error
|
||||
};
|
||||
|
||||
uint qHash(TorrentState key, uint seed);
|
||||
|
||||
class TorrentHandle : public QObject
|
||||
{
|
||||
Q_DISABLE_COPY(TorrentHandle)
|
||||
|
||||
Reference in New Issue
Block a user