Commit 9b66f8b9 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port away from deprecated QTimeLine::setCurveShape()

parent 02cebd84
......@@ -199,7 +199,7 @@ struct ThumbnailViewPrivate
{
mBusySequence = KIconLoader::global()->loadPixmapSequence(QStringLiteral("process-working"), 22);
mBusyAnimationTimeLine = new QTimeLine(100 * mBusySequence.frameCount(), q);
mBusyAnimationTimeLine->setCurveShape(QTimeLine::LinearCurve);
mBusyAnimationTimeLine->setEasingCurve(QEasingCurve::Linear);
mBusyAnimationTimeLine->setEndFrame(mBusySequence.frameCount() - 1);
mBusyAnimationTimeLine->setLoopCount(0);
QObject::connect(mBusyAnimationTimeLine, &QTimeLine::frameChanged, q, &ThumbnailView::updateBusyIndexes);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment