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;