diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-04-20 22:11:54 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-04-22 10:15:09 +0200 |
| commit | c1dccdc0e5d2986f4ddf2b40292a1f9458b1d760 (patch) | |
| tree | f70d963e3d5cc93b589e5d2aac7ef34fad048bc3 /Source | |
| parent | b059b3a646ac2665ca5b6babbda2c71b9afb4630 (diff) | |
Qt/RenderWidget: Fix getting painted over
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/DolphinQt2/RenderWidget.cpp | 2 |
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); |
