mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
restored
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2626 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8b3f8efe8d
commit
4d0cc50197
@ -237,24 +237,7 @@ 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
|
||||
return Qt::black ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user