From d46af319024a2d2aa858c3772d418d8f5a269eae Mon Sep 17 00:00:00 2001 From: Skycoder42 Date: Wed, 8 Nov 2017 14:07:59 +0100 Subject: [PATCH] Add define to stay compatible to pre Qt5.8 --- QHotkey/qhotkey_x11.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/QHotkey/qhotkey_x11.cpp b/QHotkey/qhotkey_x11.cpp index 73e0c3b..6f6f1b6 100644 --- a/QHotkey/qhotkey_x11.cpp +++ b/QHotkey/qhotkey_x11.cpp @@ -6,6 +6,11 @@ #include #include +//compability to pre Qt 5.8 +#ifndef Q_FALLTHROUGH +#define Q_FALLTHROUGH() (void)0 +#endif + class QHotkeyPrivateX11 : public QHotkeyPrivate { public: