Commit 801dec3d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: add item options for all items

There are no reasons to only apply them to the first one. Certainly
some options might only make sense with a single item. But then it
really boils down to having only one item. Some options *do* make
sense for all (>1) items.
parent bd134cba
...@@ -372,10 +372,6 @@ void OpenDialog::enqueue( bool b_enqueue ) ...@@ -372,10 +372,6 @@ void OpenDialog::enqueue( bool b_enqueue )
input_item_t *p_input; input_item_t *p_input;
p_input = input_item_New( qtu( itemsMRL[i] ), NULL ); p_input = input_item_New( qtu( itemsMRL[i] ), NULL );
/* Insert options only for the first element.
We don't know how to edit that anyway. */
if( i == 0 )
{
/* Take options from the UI, not from what we stored */ /* Take options from the UI, not from what we stored */
QStringList optionsList = ui.advancedLineInput->text().split( " :" ); QStringList optionsList = ui.advancedLineInput->text().split( " :" );
...@@ -392,7 +388,6 @@ void OpenDialog::enqueue( bool b_enqueue ) ...@@ -392,7 +388,6 @@ void OpenDialog::enqueue( bool b_enqueue )
#endif #endif
} }
} }
}
/* Switch between enqueuing and starting the item */ /* Switch between enqueuing and starting the item */
/* FIXME: playlist_AddInput() can fail */ /* FIXME: playlist_AddInput() can fail */
......
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