diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-11 22:13:24 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-02-11 22:13:24 +0100 |
commit | 0acd80a3d5614c465550b1f9deba35eb166e849a (patch) | |
tree | 1ab09ebeee8ee21e30f0d87c2210285513a7ddb9 /variant/default/main-window.cpp | |
parent | c0da74ccd25837186ebb48af5e21ec250d2a6bdf (diff) |
opentrack: don't wait on exit with no video feed
Diffstat (limited to 'variant/default/main-window.cpp')
-rw-r--r-- | variant/default/main-window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp index 84b89290..a223c32f 100644 --- a/variant/default/main-window.cpp +++ b/variant/default/main-window.cpp @@ -281,7 +281,7 @@ bool main_window::profile_name_from_dialog(QString& ret) main_window::~main_window() { // stupid ps3 eye has LED issues - if (work) + if (work && ui.video_frame->layout()) { hide(); stop_tracker_(); |