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

src/effectslist.cpp
src/effectslist.h

index dd523db728d3de1ed589596c4083a6c14aed7a7c..31e632e4025ed6b12feb2c83ce450dc0362e838d 100644 (file)
@@ -181,7 +181,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();
index 290314c336b50f957cb8618068247d8deb8f2c11..cefaa5aed5c1c65900df8bf4c44af929d36cb62d 100644 (file)
@@ -59,7 +59,7 @@ public:
     QString getInfo(const QString & tag, const QString & id) const;
     QString getInfoFromIndex(const int ix) const;
     QString getEffectInfo(const QDomElement effect) const;
-    void clone(const EffectsList original);
+    void clone(const EffectsList &original);
     void append(QDomElement e);
     bool isEmpty() const;
     int count() const;