[vlc-devel] commit: factorize. ( Rémi Duraffort )

git version control git at videolan.org
Thu Jul 23 14:41:50 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 23 14:23:32 2009 +0200| [bbeb36cb72b1455d3f268c2a3a8490b96633dd29] | committer: Rémi Duraffort 

factorize.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bbeb36cb72b1455d3f268c2a3a8490b96633dd29
---

 modules/gui/qt4/dialogs_provider.cpp |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index fe52025..f150b0e 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -419,11 +419,9 @@ void DialogsProvider::addFromSimple( bool pl, bool go)
     foreach( const QString &file, files )
     {
         playlist_Add( THEPL, qtu( toNativeSeparators( file ) ), NULL,
-                      go ? ( PLAYLIST_APPEND | ( i ? 0 : PLAYLIST_GO ) |
-                                               ( i ? PLAYLIST_PREPARSE : 0 ) )
+                      go ? ( PLAYLIST_APPEND | ( i ? PLAYLIST_PREPARSE : PLAYLIST_GO ) )
                          : ( PLAYLIST_APPEND | PLAYLIST_PREPARSE ),
-                      PLAYLIST_END,
-                      pl ? true : false, false );
+                      PLAYLIST_END, pl, pl_Unlocked );
         RecentsMRL::getInstance( p_intf )->addRecent(
                 toNativeSeparators( file ) );
         i++;




More information about the vlc-devel mailing list