diff options
-rw-r--r-- | ftnoir_tracker_aruco/ar_video_widget.h | 4 | ||||
-rw-r--r-- | ftnoir_tracker_ht/ht_video_widget.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_aruco/ar_video_widget.h b/ftnoir_tracker_aruco/ar_video_widget.h index d16cb017..e1c7cff8 100644 --- a/ftnoir_tracker_aruco/ar_video_widget.h +++ b/ftnoir_tracker_aruco/ar_video_widget.h @@ -8,7 +8,7 @@ #ifndef VIDEOWIDGET_H #define VIDEOWIDGET_H -#include <QTime> +#include <QTimer> #include <QWidget> #include <QMutex> #include <QMutexLocker> @@ -23,7 +23,7 @@ class ArucoVideoWidget : public QWidget Q_OBJECT public: - ArucoVideoWidget(QWidget *parent) : QWidget(parent), width(0), height(0), fb() { + ArucoVideoWidget(QWidget *parent) : QWidget(parent), fb(), width(0), height(0) { connect(&timer, SIGNAL(timeout()), this, SLOT(update_and_repaint())); timer.start(60); } diff --git a/ftnoir_tracker_ht/ht_video_widget.h b/ftnoir_tracker_ht/ht_video_widget.h index 33f21226..3fff395e 100644 --- a/ftnoir_tracker_ht/ht_video_widget.h +++ b/ftnoir_tracker_ht/ht_video_widget.h @@ -23,7 +23,7 @@ class HTVideoWidget : public QWidget Q_OBJECT public: - HTVideoWidget(QWidget *parent) : QWidget(parent), width(0), height(0), fb() { + HTVideoWidget(QWidget *parent) : QWidget(parent), fb(), width(0), height(0) { connect(&timer, SIGNAL(timeout()), this, SLOT(update_and_repaint())); timer.start(60); } |