[vlc-commits] commit: Revert "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 22:17:19 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 26 21:53:34 2010 +0200| [48c7e9d1d05c78f7724e3707cc3d24a64c1b7de0] | committer: Rémi Duraffort 

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

This reverts commit 2e1e9ce57502b4128d8b96ea14732c45cec7f812.

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

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

diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp
index 407c02e..ef02c6c 100644
--- a/modules/gui/qt4/dialogs/vlm.cpp
+++ b/modules/gui/qt4/dialogs/vlm.cpp
@@ -227,17 +227,22 @@ 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