mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 08:32:31 -06:00
Torrent queue position now starts at 1 (closes #581130)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.2.8
|
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.2.8
|
||||||
- BUGFIX: ETA for finished torrent is now 0 instead of Infinite (closes #583704)
|
- BUGFIX: ETA for finished torrent is now 0 instead of Infinite (closes #583704)
|
||||||
- BUGFIX: Fix sorting of ETA column when having infinite values (closes #583347)
|
- BUGFIX: Fix sorting of ETA column when having infinite values (closes #583347)
|
||||||
|
- BUGFIX: Torrent queue position now starts at 1 (closes #581130)
|
||||||
- BUGFIX: Fix unicode issue in start seeding after torrent creation code
|
- BUGFIX: Fix unicode issue in start seeding after torrent creation code
|
||||||
- COSMETIC: Fix torrent properties layout
|
- COSMETIC: Fix torrent properties layout
|
||||||
|
|
||||||
|
|||||||
@@ -377,7 +377,9 @@ QStringList QTorrentHandle::files_path() const {
|
|||||||
|
|
||||||
int QTorrentHandle::queue_position() const {
|
int QTorrentHandle::queue_position() const {
|
||||||
Q_ASSERT(h.is_valid());
|
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 {
|
int QTorrentHandle::num_uploads() const {
|
||||||
|
|||||||
Reference in New Issue
Block a user