vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Apr 14 
23:02:08 2014 +0300| [c9ae46db1ea4dca1105608e9f8041e2aa753b638] | committer: 
Rémi Denis-Courmont

Qt4: fix use of incomplete type

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

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

diff --git a/modules/gui/qt4/util/animators.cpp 
b/modules/gui/qt4/util/animators.cpp
index c005624..28fdcc3 100644
--- a/modules/gui/qt4/util/animators.cpp
+++ b/modules/gui/qt4/util/animators.cpp
@@ -52,6 +52,11 @@ PixmapAnimator::PixmapAnimator( QWidget *parent, 
QList<QString> frames )
     setFps( frames.count() ); /* default to 1 sec loop */
 }
 
+PixmapAnimator::~PixmapAnimator()
+{
+    qDeleteAll( pixmaps );
+}
+
 void PixmapAnimator::updateCurrentTime( int msecs )
 {
     int i = msecs / interval;
diff --git a/modules/gui/qt4/util/animators.hpp 
b/modules/gui/qt4/util/animators.hpp
index 2daee4b..42d5f6e 100644
--- a/modules/gui/qt4/util/animators.hpp
+++ b/modules/gui/qt4/util/animators.hpp
@@ -63,7 +63,7 @@ class PixmapAnimator : public BasicAnimator
 public:
     PixmapAnimator( QWidget *parent, QList<QString> _frames );
     virtual int duration() const { return interval * pixmaps.count(); }
-    virtual ~PixmapAnimator() { qDeleteAll( pixmaps ); }
+    virtual ~PixmapAnimator();
     QPixmap *getPixmap() { return currentPixmap; }
 protected:
     virtual void updateCurrentTime ( int msecs );

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to