Found by cppcheck.
---
src/effectslist.cpp | 2 +-
src/effectslist.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/effectslist.cpp b/src/effectslist.cpp
index f3ac887..6fc98a9 100644
--- a/src/effectslist.cpp
+++ b/src/effectslist.cpp
@@ -177,7 +177,7 @@ bool EffectsList::hasGeometryKeyFrames(QDomElement effect)
return false;
}
-void EffectsList::clone(const EffectsList original)
+void EffectsList::clone(const EffectsList &original)
{
setContent(original.toString());
m_baseElement = documentElement();
diff --git a/src/effectslist.h b/src/effectslist.h
index a12a36f..456dda5 100644
--- a/src/effectslist.h
+++ b/src/effectslist.h
@@ -58,7 +58,7 @@ public:
QStringList effectNames();
QString getInfo(const QString & tag, const QString & id) const;
QString getInfoFromIndex(const int ix) const;
- void clone(const EffectsList original);
+ void clone(const EffectsList &original);
void append(QDomElement e);
bool isEmpty() const;
int count() const;
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel