mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Qt/RenderWidget: Fix getting painted over
This commit is contained in:
@ -90,6 +90,8 @@ bool RenderWidget::event(QEvent* event)
|
|||||||
{
|
{
|
||||||
switch (event->type())
|
switch (event->type())
|
||||||
{
|
{
|
||||||
|
case QEvent::Paint:
|
||||||
|
return !autoFillBackground();
|
||||||
case QEvent::KeyPress:
|
case QEvent::KeyPress:
|
||||||
{
|
{
|
||||||
QKeyEvent* ke = static_cast<QKeyEvent*>(event);
|
QKeyEvent* ke = static_cast<QKeyEvent*>(event);
|
||||||
|
Reference in New Issue
Block a user