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

src/geometryval.cpp
src/geometryval.h

index 290435b9cfdbe5f476bc67e046f8055bf9c253f2..9dfe5f3e3061a0214e9d384607e337614eee85cd 100644 (file)
@@ -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),
index 3bacb18d26396754b2be91b38a98b579d7af09ba..bccad6612175eeb625bc1660c03eb487f35f8131 100644 (file)
@@ -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;