]> git.sesse.net Git - vlc/commitdiff
Fixes bug #2259. Sorts the files added to playlist using the Simple Open File is...
authorSrikanth Raju <srikiraju at gmail dot com>
Sat, 14 Mar 2009 18:26:21 +0000 (23:56 +0530)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 29 Mar 2009 16:54:18 +0000 (18:54 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/dialogs_provider.cpp

index fb9dd8b11d4fc667abd38d0d2b7f0b9eff49fa94..a3d458891cb97f94172850a27c410aa337babdba 100644 (file)
@@ -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,