From 0acd80a3d5614c465550b1f9deba35eb166e849a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 11 Feb 2019 22:13:24 +0100 Subject: opentrack: don't wait on exit with no video feed --- variant/default/main-window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_(); -- cgit v1.2.3