Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Games
Granatier
Commits
b4190ce4
Commit
b4190ce4
authored
Sep 29, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make compile without deprecated method
parent
5b7789a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/playeritem.cpp
src/playeritem.cpp
+1
-1
No files found.
src/playeritem.cpp
View file @
b4190ce4
...
...
@@ -43,7 +43,7 @@ PlayerItem::PlayerItem(Player* p_model, KGameRenderer* renderer) : CharacterItem
// A timeLine for the Player animation
m_animationTimer
=
new
QTimeLine
();
m_animationTimer
->
set
CurveShape
(
QTimeLin
e
::
Linear
Curve
);
m_animationTimer
->
set
EasingCurve
(
QEasingCurv
e
::
Linear
);
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