mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-09 17:45:15 -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
1 changed files with 2 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue