]> git.sesse.net Git - vlc/commitdiff
qt4_vlm: remove double call to VLMWrapper::Edit* functions (already called by the...
authorRémi Duraffort <ivoire@videolan.org>
Mon, 26 Jul 2010 18:52:30 +0000 (20:52 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 26 Jul 2010 18:53:58 +0000 (20:53 +0200)
modules/gui/qt4/dialogs/vlm.cpp

index ef02c6c88b33bc3bfa51e1ec3dd61f545dd90586..407c02e6fdbdf6922cd7dcdc454fb0ac2af9be6e 100644 (file)
@@ -227,22 +227,17 @@ void VLMDialog::addVLMItem()
         typeShortName = "Bcast";
         vlmAwidget = new VLMBroadcast( name, inputText, outputText,
                                        b_checked, b_looped, this );
-        VLMWrapper::AddBroadcast( name, inputText, outputText, b_checked,
-                                  b_looped );
     break;
     case QVLM_VOD:
         typeShortName = "VOD";
         vlmAwidget = new VLMVod( name, inputText, outputText,
                                  b_checked, ui.muxLedit->text(), this );
-        VLMWrapper::AddVod( name, inputText, outputText, b_checked );
         break;
     case QVLM_Schedule:
         typeShortName = "Sched";
         vlmAwidget = new VLMSchedule( name, inputText, outputText,
                                       schetime, schedate, repeatnum,
                                       repeatdays, b_checked, this );
-        VLMWrapper::AddSchedule( name, inputText, outputText, schetime,
-                                 schedate, repeatnum, repeatdays, b_checked);
         break;
     default:
         msg_Warn( p_intf, "Something bad happened" );