diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-17 14:30:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-17 15:20:01 +0200 |
commit | 53f16e314c38700439b5cf58b285b1ea27c4ed53 (patch) | |
tree | ad8df3a3eb8f22a7239ca771b67374e04ce48553 /tracker-pt/ftnoir_tracker_pt_dialog.cpp | |
parent | 1a31ec8b8a4abb1c82317ae500998fc8228a50f8 (diff) |
tracker/pt: fix deadlock
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt_dialog.cpp')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt_dialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |