mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 04:14:27 -04:00
set days from 100 to 365 days.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1685 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b715d07708
commit
0aeea4724a
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ class misc : public QObject{
|
||||||
}
|
}
|
||||||
int days = hours / 24;
|
int days = hours / 24;
|
||||||
hours = hours - days * 24;
|
hours = hours - days * 24;
|
||||||
if(days < 100) {
|
if(days < 365) {
|
||||||
return tr("%1d %2h %3m", "e.g: 2days 10hours 2minutes").arg(QString::fromUtf8(misc::toString(days).c_str())).arg(QString::fromUtf8(misc::toString(hours).c_str())).arg(QString::fromUtf8(misc::toString(minutes).c_str()));
|
return tr("%1d %2h %3m", "e.g: 2days 10hours 2minutes").arg(QString::fromUtf8(misc::toString(days).c_str())).arg(QString::fromUtf8(misc::toString(hours).c_str())).arg(QString::fromUtf8(misc::toString(minutes).c_str()));
|
||||||
}
|
}
|
||||||
return tr("Unknown");
|
return tr("Unknown");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue