]> git.sesse.net Git - kdenlive/blobdiff - src/effectstackview.cpp
Fix detection of missing codecs in render dialog, use kmessagewidget to inform user
[kdenlive] / src / effectstackview.cpp
index 5726f846ae655ee5308940ac58009a6c6968d361..11f09cca007e0fcf5e4b20efcc7a4e1f3f6d65dd 100644 (file)
@@ -159,7 +159,7 @@ void EffectStackView::slotSaveEffect()
     emit reloadEffects();
 }
 
-void EffectStackView::slotUpdateEffectParams(const QDomElement old, const QDomElement e)
+void EffectStackView::slotUpdateEffectParams(const QDomElement &old, const QDomElement &e)
 {
     if (m_trackMode)
         emit updateEffect(NULL, m_trackindex, old, e, m_ui.effectlist->currentRow());
@@ -431,6 +431,7 @@ void EffectStackView::clear()
     ItemInfo info;
     m_effectedit->transferParamDesc(QDomElement(), info);
     //m_ui.region_url->clear();
+    m_clipref = NULL;
     m_ui.buttonShowComments->setEnabled(false);
     m_ui.labelComment->setText(QString());
     m_ui.effectlist->blockSignals(false);