]> git.sesse.net Git - kdenlive/blobdiff - src/recmonitor.h
Remove not necessary virtual keyword. Use const'ref
[kdenlive] / src / recmonitor.h
index 316fd3159484625458edeeb4a06c4af1b07998a0..febfcca978c06554666bf46a9ebe59221426cd3f 100644 (file)
@@ -64,8 +64,8 @@ public:
     enum CAPTUREDEVICE {FIREWIRE = 0, VIDEO4LINUX = 1, SCREENGRAB = 2, BLACKMAGIC = 3};
 
 protected:
-    virtual void mousePressEvent(QMouseEvent * event);
-    virtual void mouseDoubleClickEvent(QMouseEvent * event);
+    void mousePressEvent(QMouseEvent * event);
+    void mouseDoubleClickEvent(QMouseEvent * event);
 
 private:
     KDateTime m_captureTime;
@@ -117,7 +117,7 @@ private:
     /** @brief Build MLT producer for device, using path as profile. */
     void buildMltDevice(const QString &path);
     /** @brief Create string containing an XML playlist for v4l capture. */
-    const QString getV4lXmlPlaylist(MltVideoProfile profile, bool *isXml);
+    const QString getV4lXmlPlaylist(const MltVideoProfile &profile, bool *isXml);
     /** @brief Display an error message to user. */
     void showWarningMessage(const QString &text, bool logAction = false);