diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-06-15 10:17:15 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-06-18 18:48:42 +0200 |
commit | 07a9abdfcb1880bcb7f2aec41ee96b86612fed52 (patch) | |
tree | 31f98a8a9ea5a4d9174634aceeba2f32443312b2 /gui/main-window.hpp | |
parent | 985c3fd00020ff6c7237255c0461c61bb264acb0 (diff) |
gui: make {start,stop}_tracker calls thread-safe
So far the only consumer are the keybindings.
Diffstat (limited to 'gui/main-window.hpp')
-rw-r--r-- | gui/main-window.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gui/main-window.hpp b/gui/main-window.hpp index ef6143e7..d49be9c1 100644 --- a/gui/main-window.hpp +++ b/gui/main-window.hpp @@ -128,16 +128,16 @@ private slots: void open_config_directory(); bool refresh_config_list(); - void startTracker(); - void stopTracker(); + void start_tracker_(); + void stop_tracker_(); void toggle_restore_from_tray(QSystemTrayIcon::ActivationReason e); signals: - void emit_start_tracker(); - void emit_stop_tracker(); - void emit_toggle_tracker(); - void emit_restart_tracker(); + void start_tracker(); + void stop_tracker(); + void toggle_tracker(); + void restart_tracker(); public: MainWindow(); ~MainWindow(); |