fixed statusrates it doesnt worked correct

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1159 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-05-02 23:34:25 +00:00
parent 1c5db15325
commit bdd56208ac

View File

@ -77,14 +77,17 @@ void RatesStatus::getRatesStatus()
{
iconLabel->setPixmap(QPixmap::QPixmap(":/images/up1down0.png"));
}
else if( upKb = 0 || downKb > 0 )
if( upKb < 0 || downKb > 0 )
{
iconLabel->setPixmap(QPixmap::QPixmap(":/images/up0down1.png"));
}
else if( upKb > 0 || downKb > 0 )
if( upKb > 0 || downKb > 0 )
{
iconLabel->setPixmap(QPixmap::QPixmap(":/images/up1down1.png"));
}
else
{
iconLabel->setPixmap(QPixmap::QPixmap(":/images/up0down0.png"));