summaryrefslogtreecommitdiffhomepage
path: root/video-ps3eye
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-05-10 09:23:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2020-05-10 09:23:59 +0200
commit98ce107e954edee0453ea86356fc658b9e232566 (patch)
treeb7208878d18887632082e518c62cc7246501d800 /video-ps3eye
parent3fb7b789e42300c42164d009230f3597980ec233 (diff)
video/ps3eye: fix crash in error path
Diffstat (limited to 'video-ps3eye')
-rw-r--r--video-ps3eye/module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video-ps3eye/module.cpp b/video-ps3eye/module.cpp
index e606656b..73aaf114 100644
--- a/video-ps3eye/module.cpp
+++ b/video-ps3eye/module.cpp
@@ -171,7 +171,7 @@ bool ps3eye_camera::start(info& args)
portable::sleep(sleep_ms);
}
- run_in_thread_async(qApp, [&]() {
+ run_in_thread_sync(qApp, [&]() {
QString error;
if (ptr.out.error_string[0] == '\0')
error = "Unknown error";