added Q_FALLTHROUGH macro

This commit is contained in:
Kolcha
2017-11-08 14:16:07 +03:00
parent 974af9253c
commit 9a04e8f539
+1
View File
@@ -182,6 +182,7 @@ int QHotkeyPrivateX11::HotkeyErrorHandler::handleError(Display *display, XErrorE
errorString = QHotkeyPrivateX11::formatX11Error(display, error->error_code); errorString = QHotkeyPrivateX11::formatX11Error(display, error->error_code);
return 1; return 1;
} }
Q_FALLTHROUGH();
// fall through // fall through
default: default:
return 0; return 0;