]> git.sesse.net Git - vlc/commitdiff
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 2f876be51851d88b3f6f6669188250e525a52a78..cc72ff74677806bd331c18772dff9167d98a1931 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);