Found by cppcheck.
---
 src/effectstackview.cpp |    2 +-
 src/effectstackview.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/effectstackview.cpp b/src/effectstackview.cpp
index 92bcfce..95ff95c 100644
--- a/src/effectstackview.cpp
+++ b/src/effectstackview.cpp
@@ -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());
diff --git a/src/effectstackview.h b/src/effectstackview.h
index e87b828..89055a2 100644
--- a/src/effectstackview.h
+++ b/src/effectstackview.h
@@ -94,7 +94,7 @@ public slots:
     * @param e New effect information
     *
     * Connected to a parameter change in the editor */
-    void slotUpdateEffectParams(const QDomElement old, const QDomElement e);
+    void slotUpdateEffectParams(const QDomElement &old, const QDomElement &e);
 
     /** @brief Removes the selected effect. */
     void slotItemDel();
-- 
1.7.5.4


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Kdenlive-devel mailing list
Kdenlive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to