diff options
author | Wei Shuai <cpuwolf@gmail.com> | 2018-02-21 12:47:23 +0800 |
---|---|---|
committer | Wei Shuai <cpuwolf@gmail.com> | 2018-02-21 12:47:23 +0800 |
commit | 9df0a0cf266cf1afac8170ca36aadbf2e5014191 (patch) | |
tree | b765bf83342eca87d90b35a9660293829e345f5f | |
parent | 10e3c3b9ed00b3502ac69ae55aa0e3b375dbe4cc (diff) |
tracker/wii: stop has been called from work thread
we don't need to stop again, or else it crashes app
-rw-r--r-- | tracker-wii/wii_camera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |