Commit 2e1e9ce5 authored by Rémi Duraffort's avatar Rémi Duraffort

qt4_vlm: remove double call to VLMWrapper::Edit* functions (already called by the constructor).

parent 87c351e5
...@@ -227,22 +227,17 @@ void VLMDialog::addVLMItem() ...@@ -227,22 +227,17 @@ void VLMDialog::addVLMItem()
typeShortName = "Bcast"; typeShortName = "Bcast";
vlmAwidget = new VLMBroadcast( name, inputText, outputText, vlmAwidget = new VLMBroadcast( name, inputText, outputText,
b_checked, b_looped, this ); b_checked, b_looped, this );
VLMWrapper::AddBroadcast( name, inputText, outputText, b_checked,
b_looped );
break; break;
case QVLM_VOD: case QVLM_VOD:
typeShortName = "VOD"; typeShortName = "VOD";
vlmAwidget = new VLMVod( name, inputText, outputText, vlmAwidget = new VLMVod( name, inputText, outputText,
b_checked, ui.muxLedit->text(), this ); b_checked, ui.muxLedit->text(), this );
VLMWrapper::AddVod( name, inputText, outputText, b_checked );
break; break;
case QVLM_Schedule: case QVLM_Schedule:
typeShortName = "Sched"; typeShortName = "Sched";
vlmAwidget = new VLMSchedule( name, inputText, outputText, vlmAwidget = new VLMSchedule( name, inputText, outputText,
schetime, schedate, repeatnum, schetime, schedate, repeatnum,
repeatdays, b_checked, this ); repeatdays, b_checked, this );
VLMWrapper::AddSchedule( name, inputText, outputText, schetime,
schedate, repeatnum, repeatdays, b_checked);
break; break;
default: default:
msg_Warn( p_intf, "Something bad happened" ); msg_Warn( p_intf, "Something bad happened" );
......
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