Fixed sort by size in SharedFilesDialog (again). Now use the right conversion for uint64_t for 64 bit systems.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3600 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-10-04 13:40:17 +00:00
parent 49320c2ed9
commit 8b2fffe346

View File

@ -520,10 +520,7 @@ QString RemoteDirModel::getAgeIndicatorString(const DirDetails &details) const
case 0: case 0:
return QString::fromUtf8(details.name.c_str()); return QString::fromUtf8(details.name.c_str());
case 1: case 1:
return (qulonglong) details.count;
// notdefine: was, but has compile probs return details.count;
return misc::friendlyUnit(details.count);
case 2: case 2:
return details.age; return details.age;
case 3: case 3:
@ -546,9 +543,7 @@ QString RemoteDirModel::getAgeIndicatorString(const DirDetails &details) const
case 0: case 0:
return QString::fromUtf8(details.name.c_str()); return QString::fromUtf8(details.name.c_str());
case 1: case 1:
// notdefine: was, but has compile probs return details.count; return (qulonglong) details.count;
return misc::friendlyUnit(details.count);
case 2: case 2:
return details.min_age; return details.min_age;
case 3: case 3: