mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 08:35:16 -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
1 changed files with 5 additions and 2 deletions
|
@ -77,14 +77,17 @@ void RatesStatus::getRatesStatus()
|
||||||
{
|
{
|
||||||
iconLabel->setPixmap(QPixmap::QPixmap(":/images/up1down0.png"));
|
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"));
|
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"));
|
iconLabel->setPixmap(QPixmap::QPixmap(":/images/up1down1.png"));
|
||||||
}
|
}
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
iconLabel->setPixmap(QPixmap::QPixmap(":/images/up0down0.png"));
|
iconLabel->setPixmap(QPixmap::QPixmap(":/images/up0down0.png"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue