]> git.sesse.net Git - kdenlive/blobdiff - src/stopmotion/stopmotion.h
coverity fix
[kdenlive] / src / stopmotion / stopmotion.h
index 4c3489522f08ec0119edc71912a2df82e131cdae..338b6fadcd2b52ecdf48004861d5a9cf0bec3202 100644 (file)
@@ -36,7 +36,7 @@ class MyLabel : public QLabel
 {
     Q_OBJECT
 public:
-    MyLabel(QWidget* parent = 0);
+    explicit MyLabel(QWidget* parent = 0);
     void setImage(const QImage &img);
 
 protected:
@@ -153,7 +153,7 @@ private:
     StopmotionMonitor *m_monitor;
 
     /** @brief Create the XML playlist. */
-    const QString createProducer(MltVideoProfile profile, const QString &service, const QString &resource);
+    const QString createProducer(const MltVideoProfile &profile, const QString &service, const QString &resource);
 
     /** @brief A new frame arrived, reload overlay. */
     void reloadOverlay();