mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 15:42:32 -06:00
Torrent queue position now starts at 1 (closes #581130)
This commit is contained in:
@@ -377,7 +377,9 @@ QStringList QTorrentHandle::files_path() const {
|
||||
|
||||
int QTorrentHandle::queue_position() const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
return h.queue_position();
|
||||
if(h.queue_position() < 0)
|
||||
return -1;
|
||||
return h.queue_position()+1;
|
||||
}
|
||||
|
||||
int QTorrentHandle::num_uploads() const {
|
||||
|
||||
Reference in New Issue
Block a user