From 4e74d6edef94e4f2f7caae76088f91e9ee993fba Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 6 Dec 2015 05:14:07 +0100 Subject: gui/keys: allow for pausing global keystrokes for options dialog Toggling tracking while prompting for toggle tracking key causes a deadlock somewhere. --- gui/ui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gui/ui.h') diff --git a/gui/ui.h b/gui/ui.h index 12ef1f24..ee0a3ce7 100644 --- a/gui/ui.h +++ b/gui/ui.h @@ -56,6 +56,7 @@ class MainWindow : public QMainWindow, private State process_detector_worker det; QMenu profile_menu; bool is_refreshing_profiles; + volatile bool keys_paused; QTimer save_timer; mem current_tracker() -- cgit v1.2.3