From kde-commits Fri Jan 28 21:58:18 2011 From: =?utf-8?q?Aaron=20J=2E=20Seigo?= Date: Fri, 28 Jan 2011 21:58:18 +0000 To: kde-commits Subject: KDE/kdebase/workspace/plasma/desktop/applets/kickoff/ui Message-Id: <20110128215818.F2A47AC8BC () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=129625193532426 SVN commit 1217824 by aseigo: just use the regular API instead of going through the Qt property system; use a nicer curve M +4 -4 tabbar.cpp --- trunk/KDE/kdebase/workspace/plasma/desktop/applets/kickoff/ui/tabbar.cpp #1217823:1217824 @@ -384,10 +384,10 @@ animation->pause(); } else { animation = new QPropertyAnimation(this, "animValue"); - animation->setProperty("easingCurve", QEasingCurve::InOutQuad); - animation->setProperty("duration", 150); - animation->setProperty("startValue", 0.0); - animation->setProperty("endValue", 1.0); + animation->setEasingCurve(QEasingCurve::OutQuad); + animation->setDuration(150); + animation->setStartValue(0.0); + animation->setEndValue(1.0); } animation->start(QAbstractAnimation::DeleteWhenStopped);