From c1dccdc0e5d2986f4ddf2b40292a1f9458b1d760 Mon Sep 17 00:00:00 2001 From: spycrab Date: Fri, 20 Apr 2018 22:11:54 +0200 Subject: [PATCH] Qt/RenderWidget: Fix getting painted over --- Source/Core/DolphinQt2/RenderWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt2/RenderWidget.cpp b/Source/Core/DolphinQt2/RenderWidget.cpp index 8e38702b9d..71a784a79d 100644 --- a/Source/Core/DolphinQt2/RenderWidget.cpp +++ b/Source/Core/DolphinQt2/RenderWidget.cpp @@ -90,6 +90,8 @@ bool RenderWidget::event(QEvent* event) { switch (event->type()) { + case QEvent::Paint: + return !autoFillBackground(); case QEvent::KeyPress: { QKeyEvent* ke = static_cast(event);