Commit b625cecd authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: playlist dialog: remove unneeded layer

parent 8bc285bd
...@@ -36,18 +36,14 @@ ...@@ -36,18 +36,14 @@
PlaylistDialog::PlaylistDialog( intf_thread_t *_p_intf ) PlaylistDialog::PlaylistDialog( intf_thread_t *_p_intf )
: QVLCMW( _p_intf ) : QVLCMW( _p_intf )
{ {
QWidget *main = new QWidget( this );
setCentralWidget( main );
setWindowTitle( qtr( "Playlist" ) ); setWindowTitle( qtr( "Playlist" ) );
setWindowRole( "vlc-playlist" ); setWindowRole( "vlc-playlist" );
setWindowOpacity( var_InheritFloat( p_intf, "qt-opacity" ) ); setWindowOpacity( var_InheritFloat( p_intf, "qt-opacity" ) );
QHBoxLayout *l = new QHBoxLayout( centralWidget() );
getSettings()->beginGroup("playlistdialog"); getSettings()->beginGroup("playlistdialog");
playlistWidget = new PlaylistWidget( p_intf, this ); playlistWidget = new PlaylistWidget( p_intf, this );
l->addWidget( playlistWidget ); setCentralWidget( playlistWidget );
readSettings( getSettings(), QSize( 600,700 ) ); readSettings( getSettings(), QSize( 600,700 ) );
......
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