mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
49320c2ed9
commit
8b2fffe346
@ -520,10 +520,7 @@ QString RemoteDirModel::getAgeIndicatorString(const DirDetails &details) const
|
||||
case 0:
|
||||
return QString::fromUtf8(details.name.c_str());
|
||||
case 1:
|
||||
|
||||
// notdefine: was, but has compile probs return details.count;
|
||||
return misc::friendlyUnit(details.count);
|
||||
|
||||
return (qulonglong) details.count;
|
||||
case 2:
|
||||
return details.age;
|
||||
case 3:
|
||||
@ -546,9 +543,7 @@ QString RemoteDirModel::getAgeIndicatorString(const DirDetails &details) const
|
||||
case 0:
|
||||
return QString::fromUtf8(details.name.c_str());
|
||||
case 1:
|
||||
// notdefine: was, but has compile probs return details.count;
|
||||
return misc::friendlyUnit(details.count);
|
||||
|
||||
return (qulonglong) details.count;
|
||||
case 2:
|
||||
return details.min_age;
|
||||
case 3:
|
||||
|
Loading…
Reference in New Issue
Block a user