From 4d0cc501975600e51911a675335c9804387504cd Mon Sep 17 00:00:00 2001 From: defnax Date: Wed, 24 Mar 2010 23:13:56 +0000 Subject: [PATCH] restored git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2626 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/RemoteDirModel.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/retroshare-gui/src/gui/RemoteDirModel.cpp b/retroshare-gui/src/gui/RemoteDirModel.cpp index 7a28b21ee..90e89a6c2 100644 --- a/retroshare-gui/src/gui/RemoteDirModel.cpp +++ b/retroshare-gui/src/gui/RemoteDirModel.cpp @@ -237,25 +237,8 @@ QString RemoteDirModel::getAgeIndicatorString(const DirDetails &details) const rsFiles->FileDetails(details.hash, 0, finfo); if(details.min_age > ageIndicator) - { return Qt::gray ; - } - else if (ageIndicator == IND_LAST_DAY ) - { - // color green - return QBrush(QColor(0, 191, 6)); - } - else if (ageIndicator == IND_LAST_WEEK ) - { - //color yellow - return QBrush(QColor(234, 160, 0)); - } - else if (ageIndicator == IND_LAST_MONTH ) - { - //color red - return QBrush(QColor(228, 70, 69)); - } - else + else return Qt::black ; }