mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
1c5db15325
commit
bdd56208ac
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user