Commit c5058e11 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: use the open helper in the Open Dialog

parent d276f755
......@@ -398,14 +398,7 @@ void OpenDialog::enqueue( bool b_enqueue )
}
/* Switch between enqueuing and starting the item */
/* FIXME: playlist_AddInput() can fail */
playlist_AddInput( THEPL, p_input_item,
PLAYLIST_APPEND | ( b_start ? PLAYLIST_GO : PLAYLIST_PREPARSE ),
PLAYLIST_END, b_pl ? true : false, pl_Unlocked );
vlc_gc_decref( p_input_item );
/* Do not add the current MRL if playlist_AddInput fail */
RecentsMRL::getInstance( p_intf )->addRecent( itemsMRL[i] );
Open::openInput( p_intf, p_input_item, itemsMRL[i], b_start, b_pl );
}
}
......
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