mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Quite a few improvements in rss interface
This commit is contained in:
parent
325a588526
commit
d25776ddda
5 changed files with 55 additions and 44 deletions
|
@ -193,7 +193,7 @@ class misc : public QObject{
|
|||
// Take a number of seconds and return an user-friendly
|
||||
// time duration like "1d 2h 10m".
|
||||
static QString userFriendlyDuration(const long int seconds){
|
||||
if(seconds <= 0){
|
||||
if(seconds < 0){
|
||||
return QString::QString(tr("Unknown"));
|
||||
}
|
||||
if(seconds < 60){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue