Replace "seeding_duration" with "finished_duration" everywhere

Closes #10223.
PR #13601.
This commit is contained in:
thalieht 2022-01-07 09:22:51 +02:00 committed by GitHub
parent d6fc020ba7
commit d3bdeaab3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 7 additions and 15 deletions

View file

@ -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: