mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Let eta function return signed integer
We already use signed integer internally so it make sense to return it as-is.
This commit is contained in:
parent
8fe8cbd3d1
commit
640f52c05f
2 changed files with 3 additions and 3 deletions
|
@ -303,7 +303,7 @@ qlonglong TorrentHandle::totalSize() const
|
||||||
return m_torrentInfo.totalSize();
|
return m_torrentInfo.totalSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the size of the torrent without the filtered files
|
// size without the "don't download" files
|
||||||
qlonglong TorrentHandle::wantedSize() const
|
qlonglong TorrentHandle::wantedSize() const
|
||||||
{
|
{
|
||||||
return m_nativeStatus.total_wanted;
|
return m_nativeStatus.total_wanted;
|
||||||
|
@ -1031,7 +1031,7 @@ qlonglong TorrentHandle::seedingTime() const
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
qulonglong TorrentHandle::eta() const
|
qlonglong TorrentHandle::eta() const
|
||||||
{
|
{
|
||||||
if (isPaused()) return MAX_ETA;
|
if (isPaused()) return MAX_ETA;
|
||||||
|
|
||||||
|
|
|
@ -271,7 +271,7 @@ namespace BitTorrent
|
||||||
qlonglong activeTime() const;
|
qlonglong activeTime() const;
|
||||||
qlonglong finishedTime() const;
|
qlonglong finishedTime() const;
|
||||||
qlonglong seedingTime() const;
|
qlonglong seedingTime() const;
|
||||||
qulonglong eta() const;
|
qlonglong eta() const;
|
||||||
QVector<qreal> filesProgress() const;
|
QVector<qreal> filesProgress() const;
|
||||||
int seedsCount() const;
|
int seedsCount() const;
|
||||||
int peersCount() const;
|
int peersCount() const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue