Qt: avoid a crash with plugins dialog.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 7 Jul 2009 23:39:33 +0000 (01:39 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 7 Jul 2009 23:40:32 +0000 (01:40 +0200)
modules/gui/qt4/dialogs/plugins.cpp

index 722ea0f..1575ca0 100644 (file)
@@ -42,8 +42,6 @@ PluginDialog *PluginDialog::instance = NULL;
 
 PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
 {
 
 PluginDialog::PluginDialog( intf_thread_t *_p_intf ) : QVLCFrame( _p_intf )
 {
-    setAttribute( Qt::WA_DeleteOnClose );
-
     setWindowTitle( qtr( "Plugins and extensions" ) );
     QGridLayout *layout = new QGridLayout( this );
 
     setWindowTitle( qtr( "Plugins and extensions" ) );
     QGridLayout *layout = new QGridLayout( this );