mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Replace "seeding_duration" with "finished_duration" everywhere
Closes #10223. PR #13601.
This commit is contained in:
@@ -390,7 +390,7 @@ QString TransferListModel::displayValue(const BitTorrent::Torrent *torrent, cons
|
||||
case TR_AMOUNT_LEFT:
|
||||
return unitString(torrent->remainingSize());
|
||||
case TR_TIME_ELAPSED:
|
||||
return timeElapsedString(torrent->activeTime(), torrent->seedingTime());
|
||||
return timeElapsedString(torrent->activeTime(), torrent->finishedTime());
|
||||
case TR_SAVE_PATH:
|
||||
return Utils::Fs::toNativePath(torrent->savePath());
|
||||
case TR_COMPLETED:
|
||||
@@ -459,7 +459,7 @@ QVariant TransferListModel::internalValue(const BitTorrent::Torrent *torrent, co
|
||||
case TR_AMOUNT_LEFT:
|
||||
return torrent->remainingSize();
|
||||
case TR_TIME_ELAPSED:
|
||||
return !alt ? torrent->activeTime() : torrent->seedingTime();
|
||||
return !alt ? torrent->activeTime() : torrent->finishedTime();
|
||||
case TR_SAVE_PATH:
|
||||
return Utils::Fs::toNativePath(torrent->savePath());
|
||||
case TR_COMPLETED:
|
||||
|
||||
Reference in New Issue
Block a user