Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Gwenview
Commits
9b66f8b9
Commit
9b66f8b9
authored
Nov 17, 2020
by
Friedrich W. H. Kossebau
Browse files
Port away from deprecated QTimeLine::setCurveShape()
parent
02cebd84
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/thumbnailview/thumbnailview.cpp
View file @
9b66f8b9
...
...
@@ -199,7 +199,7 @@ struct ThumbnailViewPrivate
{
mBusySequence
=
KIconLoader
::
global
()
->
loadPixmapSequence
(
QStringLiteral
(
"process-working"
),
22
);
mBusyAnimationTimeLine
=
new
QTimeLine
(
100
*
mBusySequence
.
frameCount
(),
q
);
mBusyAnimationTimeLine
->
set
CurveShape
(
QTimeLin
e
::
Linear
Curve
);
mBusyAnimationTimeLine
->
set
EasingCurve
(
QEasingCurv
e
::
Linear
);
mBusyAnimationTimeLine
->
setEndFrame
(
mBusySequence
.
frameCount
()
-
1
);
mBusyAnimationTimeLine
->
setLoopCount
(
0
);
QObject
::
connect
(
mBusyAnimationTimeLine
,
&
QTimeLine
::
frameChanged
,
q
,
&
ThumbnailView
::
updateBusyIndexes
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment