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
System
Dolphin
Commits
29b894db
Commit
29b894db
authored
Oct 15, 2020
by
Elvis Angelaccio
Browse files
Port away from QTimeLine::setCurveShape()
As recommended, we now set `easingCurve` directly.
parent
1ded75ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/panels/information/pixmapviewer.cpp
View file @
29b894db
...
...
@@ -25,7 +25,7 @@ PixmapViewer::PixmapViewer(QWidget* parent, Transition transition) :
setMinimumHeight
(
KIconLoader
::
SizeEnormous
);
m_animation
.
setDuration
(
150
);
m_animation
.
set
CurveShape
(
QTimeLin
e
::
Linear
Curve
);
m_animation
.
set
EasingCurve
(
QEasingCurv
e
::
Linear
);
if
(
m_transition
!=
NoTransition
)
{
connect
(
&
m_animation
,
&
QTimeLine
::
valueChanged
,
this
,
QOverload
<>::
of
(
&
PixmapViewer
::
update
));
...
...
Write
Preview
Markdown
is supported
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