[vlc-devel] commit: Qt: fix a leaking QSignalmapper in PL (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Jan 31 00:04:58 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 30 23:47:51 2010 +0100| [3834b98eedc37503d888a8bffa03eb48536b1e1f] | committer: Jean-Baptiste Kempf
Qt: fix a leaking QSignalmapper in PL
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3834b98eedc37503d888a8bffa03eb48536b1e1f
---
.../gui/qt4/components/playlist/standardpanel.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index e4c2f19..d2deb7a 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -455,7 +455,7 @@ void StandardPLPanel::browseInto( input_item_t *p_input )
LocationBar::LocationBar( PLModel *m )
{
model = m;
- mapper = new QSignalMapper;
+ mapper = new QSignalMapper( this );
CONNECT( mapper, mapped( int ), this, invoke( int ) );
}
More information about the vlc-devel
mailing list