diff --git a/src/qt/pivx/balancebubble.cpp b/src/qt/pivx/balancebubble.cpp index 631d21d94acc..7ecbacc8a559 100644 --- a/src/qt/pivx/balancebubble.cpp +++ b/src/qt/pivx/balancebubble.cpp @@ -44,12 +44,12 @@ void BalanceBubble::showEvent(QShowEvent *event) { QGraphicsOpacityEffect *eff = new QGraphicsOpacityEffect(this); this->setGraphicsEffect(eff); - QPropertyAnimation *a = new QPropertyAnimation(eff,"opacity"); - a->setDuration(400); - a->setStartValue(0.1); - a->setEndValue(1); - a->setEasingCurve(QEasingCurve::InBack); - a->start(QPropertyAnimation::DeleteWhenStopped); + QPropertyAnimation *anim = new QPropertyAnimation(eff,"opacity"); + anim->setDuration(400); + anim->setStartValue(0); + anim->setEndValue(1); + anim->setEasingCurve(QEasingCurve::Linear); + anim->start(QPropertyAnimation::DeleteWhenStopped); if (!hideTimer) hideTimer = new QTimer(this); connect(hideTimer, &QTimer::timeout, this, &BalanceBubble::hideTimeout); @@ -77,4 +77,4 @@ void BalanceBubble::hideTimeout() BalanceBubble::~BalanceBubble() { delete ui; -} \ No newline at end of file +}