From 53f16e314c38700439b5cf58b285b1ea27c4ed53 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 17 Oct 2021 14:30:31 +0200 Subject: tracker/pt: fix deadlock --- tracker-pt/ftnoir_tracker_pt_dialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp') diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index 1afd7ad4..ce300e27 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -237,7 +237,8 @@ void TrackerDialog_PT::show_camera_settings() if (tracker) { QMutexLocker l(&tracker->camera_mtx); - tracker->camera->show_camera_settings(); + if (tracker->camera) + tracker->camera->show_camera_settings(); } else (void)video::show_dialog(s.camera_name); -- cgit v1.2.3