We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a812a3 + 9a04e8f commit f4665e2Copy full SHA for f4665e2
QHotkey/qhotkey_x11.cpp
@@ -172,8 +172,6 @@ QHotkeyPrivateX11::HotkeyErrorHandler::~HotkeyErrorHandler()
172
173
int QHotkeyPrivateX11::HotkeyErrorHandler::handleError(Display *display, XErrorEvent *error)
174
{
175
-QT_WARNING_PUSH
176
-QT_WARNING_DISABLE_GCC("-Wimplicit-fallthrough")
177
switch (error->error_code) {
178
case BadAccess:
179
case BadValue:
@@ -184,8 +182,9 @@ QT_WARNING_DISABLE_GCC("-Wimplicit-fallthrough")
184
182
errorString = QHotkeyPrivateX11::formatX11Error(display, error->error_code);
185
183
return 1;
186
}
+ Q_FALLTHROUGH();
+ // fall through
187
default:
188
return 0;
189
190
-QT_WARNING_POP
191
0 commit comments