diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-19 05:12:36 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-19 05:50:54 +0200 |
commit | 848e414dbf0404b5ad3b97a00a06cd0d7dd8c95c (patch) | |
tree | 6dd724d56b247cd673610db6003085b7ab549bb9 /tracker-pt/ftnoir_tracker_pt.cpp | |
parent | 2ef545b487209fb03bc2506b8e9bfa345d0f392b (diff) |
tracker/pt: fix hang
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.cpp')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.cpp b/tracker-pt/ftnoir_tracker_pt.cpp index b209a938..9201a2f6 100644 --- a/tracker-pt/ftnoir_tracker_pt.cpp +++ b/tracker-pt/ftnoir_tracker_pt.cpp @@ -59,7 +59,7 @@ bool Tracker_PT::check_camera() } assert(camera); if (progn(bool x = true; return open_camera_dialog_flag.compare_exchange_strong(x, false);)) - camera->show_camera_settings(); + run_in_thread_sync(qApp->thread(), [this] { camera->show_camera_settings(); }); return true; } |