Fix compilation and some new warnings.

This commit is contained in:
Phenom 2016-12-21 21:23:54 +01:00
parent aca36a3e37
commit 40cf76808c
4 changed files with 13 additions and 8 deletions

View file

@ -209,8 +209,8 @@ QString misc::userFriendlyDuration(qlonglong seconds)
QString misc::timeRelativeToNow(uint32_t mtime)
{
if(mtime == 0)
return QString();
if( mtime == 0)
return QString() ;
time_t now = time(NULL) ;
if(mtime > now)