Qt4 - Save the settings from the playlist for the dialog Provider if ever needed.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 22 Dec 2007 03:04:42 +0000 (03:04 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 22 Dec 2007 03:04:42 +0000 (03:04 +0000)
modules/gui/qt4/dialogs/playlist.cpp

index a01c326..542e90f 100644 (file)
@@ -46,7 +46,8 @@ PlaylistDialog::PlaylistDialog( intf_thread_t *_p_intf )
     setWindowOpacity( config_GetFloat( p_intf, "qt-opacity" ) );
 
     QHBoxLayout *l = new QHBoxLayout( centralWidget() );
-    PlaylistWidget *plw = new PlaylistWidget( p_intf, NULL );
+    QSettings *settings = new QSettings( "vlc", "vlc-qt-interface" );
+    PlaylistWidget *plw = new PlaylistWidget( p_intf, settings );
     l->addWidget( plw );
 
     readSettings( "playlist", QSize( 600,700 ) );