[vlc-devel] commit: Fixes bug #2259. Sorts the files added to playlist using the Simple Open File is used. ( Srikanth Raju )

git version control git at videolan.org
Sun Mar 29 19:23:38 CEST 2009


vlc | branch: master | Srikanth Raju <srikiraju at gmail dot com> | Sun Mar 15 00:14:21 2009 +0530| [78adab773a52bd7e9a69a90ff7a2a8ee01e3ede3] | committer: Jean-Baptiste Kempf 

Fixes bug #2259. Sorts the files added to playlist using the Simple Open File is used.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index fb9dd8b..a3d4588 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -399,6 +399,7 @@ void DialogsProvider::addFromSimple( bool pl, bool go)
 {
     QStringList files = DialogsProvider::showSimpleOpen();
     int i = 0;
+	files.sort();
     foreach( const QString &file, files )
     {
         playlist_Add( THEPL, qtu( toNativeSeparators( file ) ), NULL,




More information about the vlc-devel mailing list