Commit de268c16 authored by Christophe Mutricy's avatar Christophe Mutricy

We know that we open a directory

parent 1e7fef8e
......@@ -326,10 +326,11 @@ void DialogsProvider::simpleMLAppendDialog()
**/
static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
{
QString dir = QFileDialog::getExistingDirectory( 0, qtr("Open directory") );
QString dir = QFileDialog::getExistingDirectory( 0, qtr(I_OP_OPDIR) );
if (!dir.isEmpty()) {
input_item_t *p_input = input_ItemNewExt( THEPL, qtu(dir), NULL,
0, NULL, -1 );
input_item_t *p_input = input_ItemNewExt( THEPL,
qtu( "directory://" + dir ), NULL,
0, NULL, -1 );
playlist_AddInput( THEPL, p_input,
go ? ( PLAYLIST_APPEND | PLAYLIST_GO ) : PLAYLIST_APPEND,
......
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