summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--opentrack/shortcuts.cpp2
-rw-r--r--opentrack/shortcuts.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/opentrack/shortcuts.cpp b/opentrack/shortcuts.cpp
index 560a31ab..bab1283a 100644
--- a/opentrack/shortcuts.cpp
+++ b/opentrack/shortcuts.cpp
@@ -99,7 +99,7 @@ void Shortcuts::reload(const std::vector<std::tuple<key_opts&, fun> > &keys_)
bind_keyboard_shortcut(k, opts);
keys.push_back(std::tuple<K, Shortcuts::fun>(k, fun));
#ifndef _WIN32
- connect(k.get(), &QGlobalShortcut::activated, fun);
+ connect(k.get(), &QxtGlobalShortcut::activated, fun);
#endif
}
}
diff --git a/opentrack/shortcuts.h b/opentrack/shortcuts.h
index f8343ad8..38037923 100644
--- a/opentrack/shortcuts.h
+++ b/opentrack/shortcuts.h
@@ -47,9 +47,9 @@ public:
KeybindingWorker::Token key_token;
#endif
- Shortcuts() :
+ Shortcuts()
#ifdef _WIN32
- key_token([&](const Key& k) { receiver(k); })
+ : key_token([&](const Key& k) { receiver(k); })
#endif
{}