mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
- Fix tracker addition to torrents
This commit is contained in:
@@ -239,9 +239,9 @@ size_type QTorrentHandle::filesize_at(unsigned int index) const {
|
|||||||
return h.get_torrent_info().file_at(index).size;
|
return h.get_torrent_info().file_at(index).size;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<announce_entry> const& QTorrentHandle::trackers() const {
|
std::vector<announce_entry> QTorrentHandle::trackers() const {
|
||||||
Q_ASSERT(h.is_valid());
|
Q_ASSERT(h.is_valid());
|
||||||
return h.get_torrent_info().trackers();
|
return h.trackers();
|
||||||
}
|
}
|
||||||
|
|
||||||
torrent_status::state_t QTorrentHandle::state() const {
|
torrent_status::state_t QTorrentHandle::state() const {
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ class QTorrentHandle {
|
|||||||
bool is_queued() const;
|
bool is_queued() const;
|
||||||
QString file_at(unsigned int index) const;
|
QString file_at(unsigned int index) const;
|
||||||
size_type filesize_at(unsigned int index) const;
|
size_type filesize_at(unsigned int index) const;
|
||||||
std::vector<announce_entry> const& trackers() const;
|
std::vector<announce_entry> trackers() const;
|
||||||
torrent_status::state_t state() const;
|
torrent_status::state_t state() const;
|
||||||
QString creator() const;
|
QString creator() const;
|
||||||
QString comment() const;
|
QString comment() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user