[vlc-commits] Qt: playlist dialog: remove unneeded layer
Francois Cartegnie
git at videolan.org
Thu May 10 16:15:48 CEST 2012
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu May 10 16:01:17 2012 +0200| [b625cecd0f4aa7d543b505396a4c5fd307868e6e] | committer: Francois Cartegnie
Qt: playlist dialog: remove unneeded layer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b625cecd0f4aa7d543b505396a4c5fd307868e6e
---
modules/gui/qt4/dialogs/playlist.cpp | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/modules/gui/qt4/dialogs/playlist.cpp b/modules/gui/qt4/dialogs/playlist.cpp
index 7250090..26c28d2 100644
--- a/modules/gui/qt4/dialogs/playlist.cpp
+++ b/modules/gui/qt4/dialogs/playlist.cpp
@@ -36,18 +36,14 @@
PlaylistDialog::PlaylistDialog( intf_thread_t *_p_intf )
: QVLCMW( _p_intf )
{
- QWidget *main = new QWidget( this );
- setCentralWidget( main );
setWindowTitle( qtr( "Playlist" ) );
setWindowRole( "vlc-playlist" );
setWindowOpacity( var_InheritFloat( p_intf, "qt-opacity" ) );
- QHBoxLayout *l = new QHBoxLayout( centralWidget() );
-
getSettings()->beginGroup("playlistdialog");
playlistWidget = new PlaylistWidget( p_intf, this );
- l->addWidget( playlistWidget );
+ setCentralWidget( playlistWidget );
readSettings( getSettings(), QSize( 600,700 ) );
More information about the vlc-commits
mailing list