1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Fix 'Amount Uploaded' contradiction between main view and properties widget

This commit is contained in:
Nick Tiskov 2012-12-27 17:57:31 +04:00
parent 680998f9c2
commit 54e99b73d6

View File

@ -190,7 +190,7 @@ QVariant TorrentModelItem::data(int column, int role) const
case TR_UPLIMIT: case TR_UPLIMIT:
return m_torrent.upload_limit(); return m_torrent.upload_limit();
case TR_AMOUNT_DOWNLOADED: case TR_AMOUNT_DOWNLOADED:
return static_cast<qlonglong>(m_torrent.total_wanted_done()); return static_cast<qlonglong>(m_torrent.all_time_download());
case TR_AMOUNT_UPLOADED: case TR_AMOUNT_UPLOADED:
return static_cast<qlonglong>(m_torrent.all_time_upload()); return static_cast<qlonglong>(m_torrent.all_time_upload());
case TR_AMOUNT_LEFT: case TR_AMOUNT_LEFT: