[vlc-devel] commit: Qt: fix a leak in iconView (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Jan 31 00:05:00 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 30 23:53:05 2010 +0100| [cfa61f3481a1fa19043cab924d4f2e10e1d7a17d] | committer: Jean-Baptiste Kempf
Qt: fix a leak in iconView
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cfa61f3481a1fa19043cab924d4f2e10e1d7a17d
---
modules/gui/qt4/components/playlist/icon_view.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/icon_view.cpp b/modules/gui/qt4/components/playlist/icon_view.cpp
index 4e1c7a9..d8da08c 100644
--- a/modules/gui/qt4/components/playlist/icon_view.cpp
+++ b/modules/gui/qt4/components/playlist/icon_view.cpp
@@ -189,6 +189,6 @@ PlIconView::PlIconView( PLModel *model, QWidget *parent ) : QListView( parent )
setSelectionMode( QAbstractItemView::ExtendedSelection );
setAcceptDrops( true );
- PlListViewItemDelegate *pl = new PlListViewItemDelegate();
+ PlListViewItemDelegate *pl = new PlListViewItemDelegate( this );
setItemDelegate( pl );
}
More information about the vlc-devel
mailing list