summaryrefslogtreecommitdiffhomepage
path: root/variant/default/main-window.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-11 22:13:24 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-11 22:13:24 +0100
commit0acd80a3d5614c465550b1f9deba35eb166e849a (patch)
tree1ab09ebeee8ee21e30f0d87c2210285513a7ddb9 /variant/default/main-window.cpp
parentc0da74ccd25837186ebb48af5e21ec250d2a6bdf (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.cpp2
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_();