aboutsummaryrefslogtreecommitdiff
path: root/aomovie.cpp
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2017-01-31 15:55:21 +0100
committerDavid Skoland <davidskoland@gmail.com>2017-01-31 15:55:21 +0100
commit295ea74b7c652ee98ed865fdbc572ecd65478bc4 (patch)
treed0a290f2e0eb6ae47e7cbf7515cf35f4cc14b58a /aomovie.cpp
parent9031779bc93c376596d98ae1e3fb7df1c8742399 (diff)
did some work on the gif custom classes
Diffstat (limited to 'aomovie.cpp')
-rw-r--r--aomovie.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/aomovie.cpp b/aomovie.cpp
index 2c848c41..7d3e1ba2 100644
--- a/aomovie.cpp
+++ b/aomovie.cpp
@@ -17,6 +17,8 @@ AOMovie::AOMovie(QWidget *p_parent, AOApplication *p_ao_app) : QLabel(p_parent)
void AOMovie::play(QString p_gif)
{
+ m_movie->stop();
+
QString gif_path = ao_app->get_theme_path() + p_gif;
QString default_path = ao_app->get_default_theme_path() + p_gif;