From 0a7eed71f3843af2e813b701736e7ab074c2f7d3 Mon Sep 17 00:00:00 2001 From: Fletcher Porter Date: Mon, 11 Oct 2021 17:13:00 -0700 Subject: [PATCH] Fix switch warning in RenderWidget The compiler was throwing a bunch of `-Wswitch` warnings from RenderWidget because of unhandled branches, so I added a default branch to quiet it. --- Source/Core/DolphinQt/RenderWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt/RenderWidget.cpp b/Source/Core/DolphinQt/RenderWidget.cpp index ab5017add0..b3977b507b 100644 --- a/Source/Core/DolphinQt/RenderWidget.cpp +++ b/Source/Core/DolphinQt/RenderWidget.cpp @@ -454,6 +454,8 @@ bool RenderWidget::event(QEvent* event) case QEvent::Close: emit Closed(); break; + default: + break; } return QWidget::event(event); }