ETA for finished torrent is now 0 instead of Infinite (closes #583704)

Fix unicode issue in start seeding after torrent creation code
This commit is contained in:
Christophe Dumez
2010-05-21 11:28:36 +00:00
parent 303c209839
commit 36483d795e
4 changed files with 7 additions and 2 deletions

View File

@@ -462,6 +462,9 @@ QString misc::userFriendlyDuration(qlonglong seconds) {
if(seconds < 0) {
return QString::fromUtf8("");
}
if(seconds == 0) {
return "0";
}
if(seconds < 60) {
return tr("< 1m", "< 1 minute");
}