Commit 464d09b0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Forgotten method for Input Slave Selection.

parent 2795385d
...@@ -148,6 +148,7 @@ OpenDialog::OpenDialog( QWidget *parent, ...@@ -148,6 +148,7 @@ OpenDialog::OpenDialog( QWidget *parent,
CONNECT( ui.cacheSpinBox, valueChanged( int ), this, updateMRL() ); CONNECT( ui.cacheSpinBox, valueChanged( int ), this, updateMRL() );
CONNECT( ui.startTimeSpinBox, valueChanged( int ), this, updateMRL() ); CONNECT( ui.startTimeSpinBox, valueChanged( int ), this, updateMRL() );
BUTTONACT( ui.advancedCheckBox, toggleAdvancedPanel() ); BUTTONACT( ui.advancedCheckBox, toggleAdvancedPanel() );
BUTTONACT( ui.slaveBrowseButton, browseInputSlave() );
/* Buttons action */ /* Buttons action */
BUTTONACT( playButton, selectSlots() ); BUTTONACT( playButton, selectSlots() );
...@@ -419,3 +420,11 @@ QStringList OpenDialog::SeparateEntries( QString entries ) ...@@ -419,3 +420,11 @@ QStringList OpenDialog::SeparateEntries( QString entries )
return entries_array; return entries_array;
} }
void OpenDialog::browseInputSlave()
{
OpenDialog *od = new OpenDialog( this, p_intf, true, SELECT );
od->exec();
ui.slaveText->setText( od->getMRL() );
delete od;
}
...@@ -113,6 +113,7 @@ private slots: ...@@ -113,6 +113,7 @@ private slots:
void updateMRL(); void updateMRL();
void newCachingMethod( QString ); void newCachingMethod( QString );
void signalCurrent(); void signalCurrent();
void browseInputSlave();
}; };
#endif #endif
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