diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-18 09:11:06 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-12-18 09:12:55 +0100 |
commit | 0e1617e876c59d4f4658ebf25630a1f1c7fa93cd (patch) | |
tree | f00859018c12d5781c2e94fa207e1a8fbfa688c3 /logic/shortcuts.cpp | |
parent | 187f25aefdb9fd63b8465e8e661b942401addde0 (diff) |
compat, x-plane: get rid of attribute unused macro
Diffstat (limited to 'logic/shortcuts.cpp')
-rw-r--r-- | logic/shortcuts.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/shortcuts.cpp b/logic/shortcuts.cpp index 1ffecd3a..125d051f 100644 --- a/logic/shortcuts.cpp +++ b/logic/shortcuts.cpp @@ -29,9 +29,10 @@ void Shortcuts::free_binding(K& key) #endif } -void Shortcuts::bind_shortcut(K &key, const key_opts& k, unused_on_unix(bool, held)) +void Shortcuts::bind_shortcut(K &key, const key_opts& k, bool held) { #if !defined(_WIN32) + (void)held; using sh = QxtGlobalShortcut; if (key) { |