diff options
Diffstat (limited to 'logic/shortcuts.h')
-rw-r--r-- | logic/shortcuts.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/logic/shortcuts.h b/logic/shortcuts.h index 046e68de..87926f66 100644 --- a/logic/shortcuts.h +++ b/logic/shortcuts.h @@ -24,6 +24,10 @@ #include <vector> #include <functional> +#if !defined __APPLE__ +# define OTR_HAS_KEY_UP_SUPPORT +#endif + namespace shortcuts_impl { using namespace options; @@ -54,8 +58,8 @@ public: KeybindingWorker::Token key_token {[this](const Key& k) { receiver(k); }}; #endif - Shortcuts() {} - ~Shortcuts(); + Shortcuts() = default; + ~Shortcuts() override; void reload(const t_keys& keys_); private: |