From 9df0a0cf266cf1afac8170ca36aadbf2e5014191 Mon Sep 17 00:00:00 2001 From: Wei Shuai Date: Wed, 21 Feb 2018 12:47:23 +0800 Subject: tracker/wii: stop has been called from work thread we don't need to stop again, or else it crashes app --- tracker-wii/wii_camera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-wii') diff --git a/tracker-wii/wii_camera.cpp b/tracker-wii/wii_camera.cpp index 2af3eca3..af9a2d1f 100644 --- a/tracker-wii/wii_camera.cpp +++ b/tracker-wii/wii_camera.cpp @@ -33,12 +33,12 @@ WIICamera::WIICamera(const QString& module_name) : s { module_name } cam_info.res_x = 1024; cam_info.res_y = 768; cam_info.fov = 42.0f; - cam_info.idx = 0; + cam_info.idx = 0; } WIICamera::~WIICamera() { - stop(); + //stop(); } QString WIICamera::get_desired_name() const -- cgit v1.2.3