give it a bit of a curve

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878942
This commit is contained in:
Aaron J. Seigo 2008-11-02 07:31:51 +00:00
parent 7d5c604245
commit 4b8da2000a

View File

@ -173,6 +173,7 @@ void ToolTip::moveTo(const QPoint &to)
if (!d->timeline) {
d->timeline = new QTimeLine(250, this);
d->timeline->setFrameRange(0, 10);
d->timeline->setCurveShape(QTimeLine::EaseInCurve);
connect(d->timeline, SIGNAL(valueChanged(qreal)), this, SLOT(animateMove(qreal)));
}