diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-12-06 05:14:07 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-12-06 05:14:07 +0100 |
commit | 4e74d6edef94e4f2f7caae76088f91e9ee993fba (patch) | |
tree | 47f6eaf6bc8950b610483df90a4824b4365ae478 /gui/options-dialog.hpp | |
parent | 0bd32bf56d5b31e7d7e8288b33f536158903e95e (diff) |
gui/keys: allow for pausing global keystrokes for options dialog
Toggling tracking while prompting for toggle tracking key causes a
deadlock somewhere.
Diffstat (limited to 'gui/options-dialog.hpp')
-rw-r--r-- | gui/options-dialog.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/options-dialog.hpp b/gui/options-dialog.hpp index 72ae3c30..7700162b 100644 --- a/gui/options-dialog.hpp +++ b/gui/options-dialog.hpp @@ -12,10 +12,11 @@ class OptionsDialog: public QWidget signals: void reload(); public: - OptionsDialog(main_settings& main, std::function<void()> register_global_keys); + OptionsDialog(main_settings& main, std::function<void()> register_global_keys, std::function<void(bool)> pause_keybindings); private: main_settings& main; std::function<void()> register_global_keys; + std::function<void(bool)> pause_keybindings; Ui::UI_Settings ui; void closeEvent(QCloseEvent *) override { doCancel(); } private slots: |