summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-kinect-face')
-rw-r--r--tracker-kinect-face/kinect_face_tracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-kinect-face/kinect_face_tracker.cpp b/tracker-kinect-face/kinect_face_tracker.cpp
index e7b77133..4bab2eef 100644
--- a/tracker-kinect-face/kinect_face_tracker.cpp
+++ b/tracker-kinect-face/kinect_face_tracker.cpp
@@ -136,8 +136,8 @@ module_status KinectFaceTracker::start_tracker(QFrame* aFrame)
iVideoWidget = std::make_unique<video_widget>(aFrame);
iLayout = std::make_unique<QHBoxLayout>(aFrame);
iLayout->setContentsMargins(0, 0, 0, 0);
- iLayout->addWidget(iVideoWidget.get());
- aFrame->setLayout(iLayout.get());
+ iLayout->addWidget(&*iVideoWidget);
+ aFrame->setLayout(&*iLayout);
//video_widget->resize(video_frame->width(), video_frame->height());
aFrame->show();