From: RĂ©mi Duraffort Date: Mon, 26 Jul 2010 19:53:34 +0000 (+0200) Subject: Revert "qt4_vlm: remove double call to VLMWrapper::Edit* functions (already called... X-Git-Tag: 1.2.0-pre1~5661 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=48c7e9d1d05c78f7724e3707cc3d24a64c1b7de0 Revert "qt4_vlm: remove double call to VLMWrapper::Edit* functions (already called by the constructor)." This reverts commit 2e1e9ce57502b4128d8b96ea14732c45cec7f812. --- diff --git a/modules/gui/qt4/dialogs/vlm.cpp b/modules/gui/qt4/dialogs/vlm.cpp index 407c02e6fd..ef02c6c88b 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" );