mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 21:52:32 -06:00
Replace "seeding_duration" with "finished_duration" everywhere
Closes #10223. PR #13601.
This commit is contained in:
@@ -439,7 +439,7 @@ void PropertiesWidget::loadDynamicData()
|
||||
if (m_torrent->isSeed())
|
||||
elapsedString = tr("%1 (seeded for %2)", "e.g. 4m39s (seeded for 3m10s)")
|
||||
.arg(Utils::Misc::userFriendlyDuration(m_torrent->activeTime())
|
||||
, Utils::Misc::userFriendlyDuration(m_torrent->seedingTime()));
|
||||
, Utils::Misc::userFriendlyDuration(m_torrent->finishedTime()));
|
||||
else
|
||||
elapsedString = Utils::Misc::userFriendlyDuration(m_torrent->activeTime());
|
||||
m_ui->labelElapsedVal->setText(elapsedString);
|
||||
|
||||
@@ -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