From 9a04e8f539be7be7f15bbb020ca1694cef6ce5f5 Mon Sep 17 00:00:00 2001 From: Kolcha Date: Wed, 8 Nov 2017 14:16:07 +0300 Subject: [PATCH] added Q_FALLTHROUGH macro --- QHotkey/qhotkey_x11.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/QHotkey/qhotkey_x11.cpp b/QHotkey/qhotkey_x11.cpp index 7c26313..73e0c3b 100644 --- a/QHotkey/qhotkey_x11.cpp +++ b/QHotkey/qhotkey_x11.cpp @@ -182,6 +182,7 @@ int QHotkeyPrivateX11::HotkeyErrorHandler::handleError(Display *display, XErrorE errorString = QHotkeyPrivateX11::formatX11Error(display, error->error_code); return 1; } + Q_FALLTHROUGH(); // fall through default: return 0;