[vlc-devel] commit: Qt: fix a leak of telexFrame in Controller (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Jan 31 00:04:59 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 30 23:52:23 2010 +0100| [23c1832717523befa2a6c9c75669fca282575418] | committer: Jean-Baptiste Kempf
Qt: fix a leak of telexFrame in Controller
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=23c1832717523befa2a6c9c75669fca282575418
---
modules/gui/qt4/components/controller.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 021db0d..3e03a37 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -474,7 +474,7 @@ QFrame *AbstractController::telexFrame()
/**
* Telextext QFrame
**/
- QFrame *telexFrame = new QFrame;
+ QFrame *telexFrame = new QFrame( this );
QHBoxLayout *telexLayout = new QHBoxLayout( telexFrame );
telexLayout->setSpacing( 0 ); telexLayout->setMargin( 0 );
CONNECT( THEMIM->getIM(), teletextPossible( bool ),
More information about the vlc-devel
mailing list