From ae1faae5d963b75a0b04bf69e77fc0ee12d2232d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 6 Dec 2015 00:53:44 +0100 Subject: api/keys: fix build --- opentrack/shortcuts.cpp | 2 +- opentrack/shortcuts.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'opentrack') 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 > &keys_) bind_keyboard_shortcut(k, opts); keys.push_back(std::tuple(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 {} -- cgit v1.2.3