1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-25 22:14:32 +00:00

Changed payload functions from int to qlonglong in TorrentHandle class

This commit is contained in:
Naikel Aparicio 2015-10-25 14:29:12 -04:30
parent cd3dc3d645
commit 2a2c947602
2 changed files with 4 additions and 4 deletions

View File

@ -1055,12 +1055,12 @@ int TorrentHandle::downloadPayloadRate() const
return m_nativeStatus.download_payload_rate; return m_nativeStatus.download_payload_rate;
} }
int TorrentHandle::totalPayloadUpload() const qlonglong TorrentHandle::totalPayloadUpload() const
{ {
return m_nativeStatus.total_payload_upload; return m_nativeStatus.total_payload_upload;
} }
int TorrentHandle::totalPayloadDownload() const qlonglong TorrentHandle::totalPayloadDownload() const
{ {
return m_nativeStatus.total_payload_download; return m_nativeStatus.total_payload_download;
} }

View File

@ -254,8 +254,8 @@ namespace BitTorrent
qreal realRatio() const; qreal realRatio() const;
int uploadPayloadRate() const; int uploadPayloadRate() const;
int downloadPayloadRate() const; int downloadPayloadRate() const;
int totalPayloadUpload() const; qlonglong totalPayloadUpload() const;
int totalPayloadDownload() const; qlonglong totalPayloadDownload() const;
int connectionsCount() const; int connectionsCount() const;
int connectionsLimit() const; int connectionsLimit() const;
qlonglong nextAnnounce() const; qlonglong nextAnnounce() const;