summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-18 00:26:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-18 00:26:00 +0300
commitb73e51c8993c6e2eef7a28a79ea79b7a6d61783d (patch)
treeba37e85ee798f606e68a4b084d8c8e7025d7d9af /src/gui/windows
parentbad30239e412c4e31aa8929039eaebc615d220ec (diff)
downloadplus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.gz
plus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.bz2
plus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.tar.xz
plus-b73e51c8993c6e2eef7a28a79ea79b7a6d61783d.zip
Remove default parameters from animatedsprites.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/cutinwindow.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/windows/cutinwindow.cpp b/src/gui/windows/cutinwindow.cpp
index 2713dfdfc..d31ae20ed 100644
--- a/src/gui/windows/cutinwindow.cpp
+++ b/src/gui/windows/cutinwindow.cpp
@@ -84,9 +84,8 @@ void CutInWindow::show(const std::string &name,
else
{
mImage = AnimatedSprite::load(
- pathJoin(paths.getStringValue("cutInsDir"),
- name).append(
- ".xml"));
+ pathJoin(paths.getStringValue("cutInsDir"), name).append(".xml"),
+ 0);
if (mImage != nullptr)
{
mImage->update(1);