[vlc-commits] Qt: animators: missing initializers.

Francois Cartegnie git at videolan.org
Wed Feb 12 02:36:57 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Feb 12 01:44:22 2014 +0100| [15d4d417a96fd4d5111a92f1e6cf63a3ec5f8f2a] | committer: Francois Cartegnie

Qt: animators: missing initializers.

cid #1170830

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=15d4d417a96fd4d5111a92f1e6cf63a3ec5f8f2a
---

 modules/gui/qt4/util/animators.cpp |    1 +
 modules/gui/qt4/util/animators.hpp |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/util/animators.cpp b/modules/gui/qt4/util/animators.cpp
index 9d9f23d..c005624 100644
--- a/modules/gui/qt4/util/animators.cpp
+++ b/modules/gui/qt4/util/animators.cpp
@@ -28,6 +28,7 @@
 BasicAnimator::BasicAnimator( QObject *parent )
     : QAbstractAnimation( parent ), current_frame( 0 )
 {
+    setFps( 15 );
     setLoopCount( -1 );
 }
 
diff --git a/modules/gui/qt4/util/animators.hpp b/modules/gui/qt4/util/animators.hpp
index 1b8f10a..947ac1b 100644
--- a/modules/gui/qt4/util/animators.hpp
+++ b/modules/gui/qt4/util/animators.hpp
@@ -47,7 +47,6 @@ protected:
     virtual void updateCurrentTime ( int msecs );
     int fps;
     int interval;
-    int lastframe_msecs;
     int current_frame;
 };
 



More information about the vlc-commits mailing list