]> git.sesse.net Git - vlc/commitdiff
Don't preparse folders using input_Preprase
authorClément Stenac <zorglub@videolan.org>
Tue, 28 Feb 2006 23:23:42 +0000 (23:23 +0000)
committerClément Stenac <zorglub@videolan.org>
Tue, 28 Feb 2006 23:23:42 +0000 (23:23 +0000)
modules/gui/wxwidgets/dialogs.cpp

index a28af2189f8e77c98abc0b827e820f3963a0caca..066a822f2d5f99d5e4b304205fbfc059fa6b8613 100644 (file)
@@ -461,8 +461,7 @@ void DialogsProvider::OnOpenDirectory( wxCommandEvent& event )
         wxString path = p_dir_dialog->GetPath();
         char *psz_utf8 = wxFromLocale( path );
         playlist_Add( p_playlist, psz_utf8, psz_utf8,
-                      PLAYLIST_APPEND | (event.GetInt() ? PLAYLIST_GO : 0) |
-                      (event.GetInt() ? 0 : PLAYLIST_PREPARSE ),
+                      PLAYLIST_APPEND | (event.GetInt() ? PLAYLIST_GO : 0),
                       PLAYLIST_END );
         wxLocaleFree( psz_utf8 );
     }