From 4d977c75ae916f227b7d090b4918f74c3e3ef44e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Fri, 9 Sep 2011 23:50:02 +0000 Subject: [PATCH] cppcheck fixes, patch by Mikko Rapeli [14/27] svn path=/trunk/kdenlive/; revision=5887 --- 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 5726f846..c0866ae8 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 e87b8289..89055a23 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(); -- 2.39.5