[vlc-devel] commit: Qt4: missing cleanup and redundant include (Jakob Leben )

git version control git at videolan.org
Sat Nov 7 11:20:23 CET 2009


vlc | branch: master | Jakob Leben <jleben at videolan.org> | Sat Nov  7 11:16:15 2009 +0100| [0ab64d44c4d2e5cc0fbc9393d7ad20d8840259d9] | committer: Jakob Leben 

Qt4: missing cleanup and redundant include

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

 modules/gui/qt4/components/playlist/selector.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp
index eb4d7d6..edd0591 100644
--- a/modules/gui/qt4/components/playlist/selector.cpp
+++ b/modules/gui/qt4/components/playlist/selector.cpp
@@ -43,8 +43,6 @@
 #include <vlc_playlist.h>
 #include <vlc_services_discovery.h>
 
-#include <iostream>
-
 PLSelItem::PLSelItem ( QTreeWidgetItem *i, const QString& text )
     : qitem(i), btnAction( NULL )
 {
@@ -133,6 +131,8 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
 
 PLSelector::~PLSelector()
 {
+    delete plEM;
+
     if( podcastsParent )
     {
         int c = podcastsParent->childCount();




More information about the vlc-devel mailing list