diff options
Diffstat (limited to 'logic/shortcuts.h')
-rw-r--r-- | logic/shortcuts.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/logic/shortcuts.h b/logic/shortcuts.h index 52b9979a..1f57a8fb 100644 --- a/logic/shortcuts.h +++ b/logic/shortcuts.h @@ -7,27 +7,23 @@ */ #pragma once -#include <QObject> -#include <tuple> -#include <vector> -#include <functional> - #include "export.hpp" -#include "qxt-mini/QxtGlobalShortcut" #include "options/options.hpp" #include "main-settings.hpp" #ifdef _WIN32 # include "dinput/keybinding-worker.hpp" -#endif - -#if defined(__GNUC__) && !defined(_WIN32) -# define unused_on_unix(t, i) t __attribute__((unused)) i #else -# define unused_on_unix(t, i) t i +# include "qxt-mini/QxtGlobalShortcut" #endif +#include <QObject> + +#include <tuple> +#include <vector> +#include <functional> + using namespace options; struct OPENTRACK_LOGIC_EXPORT Shortcuts final : public QObject |