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:
notdefine 2010-09-29 20:45:50 +00:00
parent 2964533caf
commit 35054699bc

View File

@ -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: