Commit 0de3c723 authored by Jean-Philippe Andre's avatar Jean-Philippe Andre

Qt: Open: sort MRLs (alphabetically) before adding them to the PL

By default, the open dialog will sort the MRL alphabetically.
Then why would these MRLs not be sorted so?
parent 444fb88c
...@@ -331,6 +331,9 @@ void OpenDialog::finish( bool b_enqueue = false ) ...@@ -331,6 +331,9 @@ void OpenDialog::finish( bool b_enqueue = false )
return; return;
} }
/* Sort alphabetically */
itemsMRL.sort();
/* Go through the item list */ /* Go through the item list */
for( int i = 0; i < itemsMRL.size(); i++ ) for( int i = 0; i < itemsMRL.size(); i++ )
{ {
......
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