animate from the current value, not from 0
BUG:231292 svn path=/trunk/KDE/kdelibs/; revision=1135492
This commit is contained in:
parent
b1b93f5047
commit
5b2983c17e
@ -311,7 +311,7 @@ void Meter::setValue(int value)
|
||||
d->value = value;
|
||||
update();
|
||||
} else {
|
||||
d->animation->setStartValue(0);
|
||||
d->animation->setStartValue(d->value);
|
||||
d->animation->setEndValue(value);
|
||||
d->animation->start();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user