]> git.sesse.net Git - kdenlive/commitdiff
cppcheck fixes, patch by Mikko Rapeli [14/27]
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 9 Sep 2011 23:50:02 +0000 (23:50 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 9 Sep 2011 23:50:02 +0000 (23:50 +0000)
svn path=/trunk/kdenlive/; revision=5887

src/effectstackview.cpp
src/effectstackview.h

index 5726f846ae655ee5308940ac58009a6c6968d361..c0866ae86b6e4f0f608b1b3626a750500f02b3cf 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());
index e87b8289284c389f3351a6effff33bae3291e8a8..89055a2360374e03a9e691fa12cbe4c4903e6cb2 100644 (file)
@@ -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();