[vlc-commits] commit: qt4_vlm: remove double call to VLMWrapper::Edit* functions ( already called by the constructor). ( Rémi Duraffort )

git at videolan.org git at videolan.org
Mon Jul 26 20:55:26 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 26 20:52:30 2010 +0200| [2e1e9ce57502b4128d8b96ea14732c45cec7f812] | committer: Rémi Duraffort 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e1e9ce57502b4128d8b96ea14732c45cec7f812
---

 modules/gui/qt4/dialogs/vlm.cpp |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index ef02c6c..407c02e 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -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" );



More information about the vlc-commits mailing list