mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixes Compile Problems. Return type was not valid, hope now it is correct.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3563 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2964533caf
commit
35054699bc
@ -520,7 +520,10 @@ QString RemoteDirModel::getAgeIndicatorString(const DirDetails &details) const
|
||||
case 0:
|
||||
return QString::fromUtf8(details.name.c_str());
|
||||
case 1:
|
||||
return details.count;
|
||||
|
||||
// notdefine: was, but has compile probs return details.count;
|
||||
return misc::friendlyUnit(details.count);
|
||||
|
||||
case 2:
|
||||
return details.age;
|
||||
case 3:
|
||||
@ -543,7 +546,9 @@ QString RemoteDirModel::getAgeIndicatorString(const DirDetails &details) const
|
||||
case 0:
|
||||
return QString::fromUtf8(details.name.c_str());
|
||||
case 1:
|
||||
return details.count;
|
||||
// notdefine: was, but has compile probs return details.count;
|
||||
return misc::friendlyUnit(details.count);
|
||||
|
||||
case 2:
|
||||
return details.min_age;
|
||||
case 3:
|
||||
|
Loading…
Reference in New Issue
Block a user