Qt: reparent a textEdit.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 11 Feb 2009 03:35:37 +0000 (04:35 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 11 Feb 2009 03:39:10 +0000 (04:39 +0100)
modules/gui/qt4/dialogs/help.cpp

index 2f876be..cc72ff7 100644 (file)
@@ -221,7 +221,7 @@ UpdateDialog::UpdateDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
     updateLabelDown->setWordWrap( true );
     updateLabelDown->hide();
 
-    updateText = new QTextEdit;
+    updateText = new QTextEdit( this );
     updateText->setAcceptRichText(false);
     updateText->setTextInteractionFlags( Qt::TextSelectableByKeyboard|
                                          Qt::TextSelectableByMouse);