Found by cppcheck.
---
src/geometryval.cpp | 2 +-
src/geometryval.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/geometryval.cpp b/src/geometryval.cpp
index 290435b..9dfe5f3 100644
--- a/src/geometryval.cpp
+++ b/src/geometryval.cpp
@@ -29,7 +29,7 @@
#include <QTimer>
-Geometryval::Geometryval(const MltVideoProfile profile, Timecode t, QPoint
frame_size, int startPoint, QWidget* parent) :
+Geometryval::Geometryval(const MltVideoProfile &profile, Timecode t, QPoint
frame_size, int startPoint, QWidget* parent) :
QWidget(parent),
m_profile(profile),
m_paramRect(NULL),
diff --git a/src/geometryval.h b/src/geometryval.h
index 3bacb18..bccad66 100644
--- a/src/geometryval.h
+++ b/src/geometryval.h
@@ -41,7 +41,7 @@ class Geometryval : public QWidget, public Ui::Geometryval
{
Q_OBJECT
public:
- explicit Geometryval(const MltVideoProfile profile, Timecode t, QPoint
frame_size, int startPoint = 0, QWidget* parent = 0);
+ explicit Geometryval(const MltVideoProfile &profile, Timecode t, QPoint
frame_size, int startPoint = 0, QWidget* parent = 0);
virtual ~Geometryval();
QDomElement getParamDesc();
QString getValue() 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