[vlc-commits] Qt: make a destructor as virtual

Jean-Baptiste Kempf git at videolan.org
Sun Jul 29 20:37:46 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 29 13:02:07 2012 +0200| [f9186dcc2e20dd3053c3125867c0848dcc7d3c1b] | committer: Jean-Baptiste Kempf

Qt: make a destructor as virtual

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

 modules/gui/qt4/components/playlist/playlist_item.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_item.hpp b/modules/gui/qt4/components/playlist/playlist_item.hpp
index f4b619d..c3d6aee 100644
--- a/modules/gui/qt4/components/playlist/playlist_item.hpp
+++ b/modules/gui/qt4/components/playlist/playlist_item.hpp
@@ -58,7 +58,7 @@ class PLItem : public AbstractPLItem
     friend class PLModel;
 
 public:
-    ~PLItem();
+    virtual ~PLItem();
     bool hasSameParent( PLItem *other ) { return parent() == other->parent(); }
     bool operator< ( PLItem& );
 



More information about the vlc-commits mailing list