summaryrefslogtreecommitdiffhomepage
path: root/logic/shortcuts.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-02-25 11:25:50 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-02-25 14:19:59 +0100
commit0391c4bbd10aef403c194910ed6b1f3fd4f8900c (patch)
tree089c034bab1c6451d04dc2840580ed296e20db0a /logic/shortcuts.h
parent81362834a78f1ab87c0c8d6331e759199d33623b (diff)
logic/shortcuts: reorder headers
Diffstat (limited to 'logic/shortcuts.h')
-rw-r--r--logic/shortcuts.h18
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