mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 07:02:31 -06:00
Don't use removed stat metric in libtorrent 2.0
For now, the metric is not entirely removed due to WebAPI still needs to access it.
This commit is contained in:
committed by
sledgehammer999
parent
22f3abc4b5
commit
ef92c17192
@@ -197,7 +197,9 @@ namespace BitTorrent
|
||||
{
|
||||
int diskBlocksInUse = -1;
|
||||
int numBlocksRead = -1;
|
||||
#if (LIBTORRENT_VERSION_NUM < 20000)
|
||||
int numBlocksCacheHits = -1;
|
||||
#endif
|
||||
int writeJobs = -1;
|
||||
int readJobs = -1;
|
||||
int hashJobs = -1;
|
||||
|
||||
Reference in New Issue
Block a user