mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Rename priority to queue in the context of torrents
This commit is contained in:
parent
afa73d4e89
commit
7b31868e3c
20 changed files with 171 additions and 160 deletions
|
@ -90,7 +90,7 @@ QVariantMap serialize(const BitTorrent::TorrentHandle &torrent)
|
|||
ret[KEY_TORRENT_PROGRESS] = torrent.progress();
|
||||
ret[KEY_TORRENT_DLSPEED] = torrent.downloadPayloadRate();
|
||||
ret[KEY_TORRENT_UPSPEED] = torrent.uploadPayloadRate();
|
||||
ret[KEY_TORRENT_PRIORITY] = static_cast<int>(torrent.queuePosition());
|
||||
ret[KEY_TORRENT_QUEUE_POSITION] = static_cast<int>(torrent.queuePosition());
|
||||
ret[KEY_TORRENT_SEEDS] = torrent.seedsCount();
|
||||
ret[KEY_TORRENT_NUM_COMPLETE] = torrent.totalSeedsCount();
|
||||
ret[KEY_TORRENT_LEECHS] = torrent.leechsCount();
|
||||
|
|
|
@ -43,7 +43,7 @@ const char KEY_TORRENT_SIZE[] = "size";
|
|||
const char KEY_TORRENT_PROGRESS[] = "progress";
|
||||
const char KEY_TORRENT_DLSPEED[] = "dlspeed";
|
||||
const char KEY_TORRENT_UPSPEED[] = "upspeed";
|
||||
const char KEY_TORRENT_PRIORITY[] = "priority";
|
||||
const char KEY_TORRENT_QUEUE_POSITION[] = "priority";
|
||||
const char KEY_TORRENT_SEEDS[] = "num_seeds";
|
||||
const char KEY_TORRENT_NUM_COMPLETE[] = "num_complete";
|
||||
const char KEY_TORRENT_LEECHS[] = "num_leechs";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue