CONNECT( ui.cacheSpinBox, valueChanged( int ), this, updateMRL() );
CONNECT( ui.startTimeSpinBox, valueChanged( int ), this, updateMRL() );
BUTTONACT( ui.advancedCheckBox, toggleAdvancedPanel() );
+ BUTTONACT( ui.slaveBrowseButton, browseInputSlave() );
/* Buttons action */
BUTTONACT( playButton, selectSlots() );
{
mrl = ui.advancedLineInput->text();
toggleVisible();
- THEDP->streamingDialog( this, mrl, b_transcode_only );
+ THEDP->streamingDialog( this, SeparateEntries( mrl )[0], b_transcode_only );
}
/* Update the MRL */
return entries_array;
}
+
+void OpenDialog::browseInputSlave()
+{
+ OpenDialog *od = new OpenDialog( this, p_intf, true, SELECT );
+ od->exec();
+ ui.slaveText->setText( od->getMRL() );
+ delete od;
+}