Commit 78adab77 authored by Srikanth Raju's avatar Srikanth Raju Committed by 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's avatarJean-Baptiste Kempf <jb@videolan.org>
parent dbb6de57
...@@ -399,6 +399,7 @@ void DialogsProvider::addFromSimple( bool pl, bool go) ...@@ -399,6 +399,7 @@ void DialogsProvider::addFromSimple( bool pl, bool go)
{ {
QStringList files = DialogsProvider::showSimpleOpen(); QStringList files = DialogsProvider::showSimpleOpen();
int i = 0; int i = 0;
files.sort();
foreach( const QString &file, files ) foreach( const QString &file, files )
{ {
playlist_Add( THEPL, qtu( toNativeSeparators( file ) ), NULL, playlist_Add( THEPL, qtu( toNativeSeparators( file ) ), NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment