mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
* Fixed ageToString() for time differences below 60 seconds.
This commit is contained in:
@@ -219,11 +219,9 @@ ageToString( const QDateTime& time )
|
|||||||
{
|
{
|
||||||
if ( mins > 1 )
|
if ( mins > 1 )
|
||||||
return QObject::tr( "%1 minutes" ).arg( mins );
|
return QObject::tr( "%1 minutes" ).arg( mins );
|
||||||
else
|
|
||||||
return QObject::tr( "%1 minute" ).arg( mins );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return QString();
|
return QObject::tr( "1 minute" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user