Commit 23c18327 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix a leak of telexFrame in Controller

parent fb51cbe4
...@@ -474,7 +474,7 @@ QFrame *AbstractController::telexFrame() ...@@ -474,7 +474,7 @@ QFrame *AbstractController::telexFrame()
/** /**
* Telextext QFrame * Telextext QFrame
**/ **/
QFrame *telexFrame = new QFrame; QFrame *telexFrame = new QFrame( this );
QHBoxLayout *telexLayout = new QHBoxLayout( telexFrame ); QHBoxLayout *telexLayout = new QHBoxLayout( telexFrame );
telexLayout->setSpacing( 0 ); telexLayout->setMargin( 0 ); telexLayout->setSpacing( 0 ); telexLayout->setMargin( 0 );
CONNECT( THEMIM->getIM(), teletextPossible( bool ), CONNECT( THEMIM->getIM(), teletextPossible( bool ),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment