From 35054699bc32ccf00b5eca4774bdad880e637783 Mon Sep 17 00:00:00 2001 From: notdefine Date: Wed, 29 Sep 2010 20:45:50 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/RemoteDirModel.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/RemoteDirModel.cpp b/retroshare-gui/src/gui/RemoteDirModel.cpp index 3d192d665..8443f1097 100644 --- a/retroshare-gui/src/gui/RemoteDirModel.cpp +++ b/retroshare-gui/src/gui/RemoteDirModel.cpp @@ -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: