summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/ftnoir_tracker_aruco.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-03 07:10:12 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-03 07:10:12 +0100
commitac36fa53e970bf79d68499b52433d33ed994c4c5 (patch)
treeb98ad2b555c8b16ab108ff77be6c1ea063606e0e /tracker-aruco/ftnoir_tracker_aruco.h
parent1aeb193a0277e2f1319dd1e935f8111cf01d301c (diff)
tracker/{aruco,pt}: use RAII for QObject
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.h')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.h b/tracker-aruco/ftnoir_tracker_aruco.h
index 54940d28..edec2437 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.h
+++ b/tracker-aruco/ftnoir_tracker_aruco.h
@@ -78,8 +78,8 @@ private:
cv::VideoCapture camera;
QMutex camera_mtx;
QMutex mtx;
- QHBoxLayout* layout;
- cv_video_widget* videoWidget;
+ qshared<cv_video_widget> videoWidget;
+ qshared<QHBoxLayout> layout;
settings s;
double pose[6], fps;
cv::Mat frame, grayscale, color;