From b29b8e48fe59f44fd28de5f6879730bcdf34a9dd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 26 Jan 2022 02:17:29 +0100 Subject: api, opentrack: fix the crash for real this time --- api/plugin-api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') diff --git a/api/plugin-api.cpp b/api/plugin-api.cpp index ef9e47a1..3bf4b37b 100644 --- a/api/plugin-api.cpp +++ b/api/plugin-api.cpp @@ -9,7 +9,7 @@ void BaseDialog::closeEvent(QCloseEvent*) if (isVisible()) { emit closing(); - close(); + reject(); } } -- cgit v1.2.3