]> git.sesse.net Git - kdenlive/blobdiff - src/stopmotion/capturehandler.h
Make class constructors with required args explicit [krazy 45/46] by Mikko Rapeli
[kdenlive] / src / stopmotion / capturehandler.h
index b2ea249d35eb03698bc8139d49bcfb85706abac6..fe730a46bf534c24f7c25ff23431ca5cbd0b707b 100644 (file)
@@ -28,7 +28,7 @@ class CaptureHandler : public QObject
 {
     Q_OBJECT
 public:
-    CaptureHandler(QVBoxLayout *lay, QWidget *parent = 0);
+    explicit CaptureHandler(QVBoxLayout *lay, QWidget *parent = 0);
     ~CaptureHandler();
     virtual void startPreview(int deviceId, int captureMode, bool audio = true) = 0;
     virtual void stopPreview() = 0;