libobs/plugins/UI: Suppress -Wimplicit-fallthrough introduced by GCC 7

Signed-off-by: Shaolin <admshao@gmail.com>
This commit is contained in:
Shaolin
2017-05-29 21:05:18 -03:00
parent d4bd7ea052
commit cb9f767e45
5 changed files with 8 additions and 0 deletions

View File

@@ -164,6 +164,7 @@ QObject *CreateShortcutFilter()
case Qt::Key_Return:
if (dialog && pressed)
return false;
/* Falls through. */
default:
hotkey.key = obs_key_from_virtual_key(
event->nativeVirtualKey());