summaryrefslogtreecommitdiffhomepage
path: root/logic/shortcuts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/shortcuts.cpp')
-rw-r--r--logic/shortcuts.cpp3
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)
{