]> git.sesse.net Git - kdenlive/commitdiff
cleanup
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 21 Jul 2009 11:07:04 +0000 (11:07 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 21 Jul 2009 11:07:04 +0000 (11:07 +0000)
svn path=/trunk/kdenlive/; revision=3750

src/clipitem.cpp
src/customtrackview.cpp
src/effectstackview.cpp

index 75c5ca2290f3654c1376b79bdcbce553fa1cac4b..8fba86baae59e811e760e2098e7621433e4f1c4d 100644 (file)
@@ -1293,7 +1293,7 @@ void ClipItem::setEffectAt(int ix, QDomElement effect)
     m_effectNames = m_effectList.effectNames().join(" / ");
     QString id = effect.attribute("id");
     if (id == "fadein" || id == "fadeout" || id == "fade_from_black" || id == "fade_to_black")
-        update(boundingRect());
+        update();
     else {
         QRectF r = boundingRect();
         r.setHeight(20);
index 8f7f54c0bc7175d63ab0842769959b388b14170c..7cebbd28aa6ff9696f6487659128b7016118e9f1 100644 (file)
@@ -1388,7 +1388,6 @@ void CustomTrackView::updateEffect(int track, GenTime pos, QDomElement effect, i
         // check if we are trying to reset a keyframe effect
         if (effectParams.hasParam("keyframes") && effectParams.paramValue("keyframes").isEmpty()) {
             clip->initEffect(effect);
-            clip->setEffectAt(ix, effect);
             effectParams = clip->getEffectArgs(effect);
         }
         if (effectParams.paramValue("disabled") == "1") {
index 0258761941fb24f6e4841e9d6ace18cf061541e9..d0847c00a3c90bbe638b35648a623c7afdea4554 100644 (file)
@@ -65,7 +65,6 @@ EffectStackView::EffectStackView(QWidget *parent) :
     connect(m_ui.buttonDel, SIGNAL(clicked()), this, SLOT(slotItemDel()));
     connect(m_ui.buttonSave, SIGNAL(clicked()), this, SLOT(slotSaveEffect()));
     connect(m_ui.buttonReset, SIGNAL(clicked()), this, SLOT(slotResetEffect()));
-    //connect(this, SIGNAL(transferParamDesc(const QDomElement&, int , int)), m_effectedit , SLOT(transferParamDesc(const QDomElement&, int , int)));
     connect(m_effectedit, SIGNAL(parameterChanged(const QDomElement&, const QDomElement&)), this , SLOT(slotUpdateEffectParams(const QDomElement&, const QDomElement&)));
     m_effectLists["audio"] = &MainWindow::audioEffects;
     m_effectLists["video"] = &MainWindow::videoEffects;