summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/RenderWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt2/RenderWidget.cpp')
-rw-r--r--Source/Core/DolphinQt2/RenderWidget.cpp2
1 files changed, 2 insertions, 0 deletions
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<QKeyEvent*>(event);