mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-01 04:46:47 -05:00
Fix compilation and some new warnings.
This commit is contained in:
parent
aca36a3e37
commit
40cf76808c
4 changed files with 13 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue