summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-12-06 00:53:44 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-12-06 00:53:44 +0100
commitae1faae5d963b75a0b04bf69e77fc0ee12d2232d (patch)
treed59b490d063af60d4137f46822229a5dd774afe4 /opentrack
parent179870eb019f5b2d2327292e8beef63c01a33e4a (diff)
api/keys: fix build
Diffstat (limited to 'opentrack')
-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
{}