Browse Source

More readable display of ETA

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
5e7cafb8c0
  1. 2
      src/misc.cpp

2
src/misc.cpp

@ -564,7 +564,7 @@ QString misc::userFriendlyDuration(qlonglong seconds) { @@ -564,7 +564,7 @@ QString misc::userFriendlyDuration(qlonglong seconds) {
int days = hours / 24;
hours = hours - days * 24;
if(days < 100) {
return tr("%1d%2h%3m", "e.g: 2days 10hours 2minutes").arg(QString::number(days)).arg(QString::number(hours)).arg(QString::number(minutes));
return tr("%1d %2h", "e.g: 2days 10hours").arg(QString::number(days)).arg(QString::number(hours));
}
return QString::fromUtf8("");
}

Loading…
Cancel
Save