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

diff --git a/src/monitor.cpp b/src/monitor.cpp
index 54c708b..d800b62 100644
--- a/src/monitor.cpp
+++ b/src/monitor.cpp
@@ -857,7 +857,7 @@ void Monitor::slotSaveZone()
     //render->setSceneList(doc, 0);
 }
 
-void Monitor::resetProfile(const QString profile)
+void Monitor::resetProfile(const QString &profile)
 {
     m_timePos->updateTimeCode(m_monitorManager->timecode());
     if (render == NULL) return;
diff --git a/src/monitor.h b/src/monitor.h
index 2359e74..13f107a 100644
--- a/src/monitor.h
+++ b/src/monitor.h
@@ -114,7 +114,7 @@ public:
     ~Monitor();
     Render *render;
     AbstractRender *abstractRender();
-    void resetProfile(const QString profile);
+    void resetProfile(const QString &profile);
     const QString name() const;
     void resetSize();
     bool isActive() const;
diff --git a/src/renderer.cpp b/src/renderer.cpp
index 2142f93..879d676 100644
--- a/src/renderer.cpp
+++ b/src/renderer.cpp
@@ -291,7 +291,7 @@ Mlt::Producer *Render::invalidProducer(const QString &id)
     return clip;
 }
 
-int Render::resetProfile(const QString profileName, bool dropSceneList)
+int Render::resetProfile(const QString &profileName, bool dropSceneList)
 {
     QString scene;
     if (!dropSceneList) scene = sceneList();
-- 
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

Reply via email to