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
Games
Kapman
Commits
a474787e
Commit
a474787e
authored
Sep 29, 2020
by
Laurent Montel
😁
Browse files
Make it compile without deprecated method
parent
4583cd88
Changes
1
Hide whitespace changes
Inline
Side-by-side
kapmanitem.cpp
View file @
a474787e
...
...
@@ -37,7 +37,7 @@ KapmanItem::KapmanItem(Kapman *p_model) : CharacterItem(p_model)
// A timeLine for the Kapman animation
m_animationTimer
=
new
QTimeLine
();
m_animationTimer
->
set
CurveShape
(
QTimeLin
e
::
SineCurve
);
m_animationTimer
->
set
EasingCurve
(
QEasingCurv
e
::
SineCurve
);
m_animationTimer
->
setLoopCount
(
0
);
m_animationTimer
->
setFrameRange
(
0
,
NB_FRAMES
-
1
);
// Animation speed
...
...
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