mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Use attribute [[fallthrough]]
This commit is contained in:
parent
cb168f22d6
commit
6f84984b7b
4 changed files with 9 additions and 12 deletions
|
@ -189,8 +189,8 @@ bool RenderWidget::event(QEvent* event)
|
|||
case QEvent::MouseMove:
|
||||
if (g_Config.bFreeLook)
|
||||
OnFreeLookMouseMove(static_cast<QMouseEvent*>(event));
|
||||
[[fallthrough]];
|
||||
|
||||
// [[fallthrough]]
|
||||
case QEvent::MouseButtonPress:
|
||||
if (!Settings::Instance().GetHideCursor() && isActiveWindow())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue