]> git.sesse.net Git - kdenlive/blobdiff - src/mltdevicecapture.h
const'ref. Fix coding style. Minor optimization
[kdenlive] / src / mltdevicecapture.h
index f572636b91a2db4add72ee316f872a7a7d6ce3c6..ffba41df90397483e44024db20523161540497c7 100644 (file)
@@ -39,7 +39,7 @@ class Frame;
 class Event;
 class Producer;
 class Profile;
-};
+}
 
 class MltDeviceCapture: public AbstractRender
 {
@@ -51,7 +51,7 @@ Q_OBJECT public:
     /** @brief Build a MLT Renderer
      *  @param winid The parent widget identifier (required for SDL display). Set to 0 for OpenGL rendering
      *  @param profile The MLT profile used for the capture (default one will be used if empty). */
-    MltDeviceCapture(QString profile, VideoSurface *surface, QWidget *parent = 0);
+    explicit MltDeviceCapture(QString profile, VideoSurface *surface, QWidget *parent = 0);
 
     /** @brief Destroy the MLT Renderer. */
     ~MltDeviceCapture();
@@ -137,14 +137,14 @@ signals:
     /** @brief A frame's image has to be shown.
      *
      * Used in Mac OS X. */
-    void showImageSignal(QImage);
+    void showImageSignal(const QImage&);
 
     void frameSaved(const QString &);
     
     void droppedFrames(int);
     
     void unblockPreview();
-    void imageReady(QImage);
+    void imageReady(const QImage &);
 
 
 public slots: