Qt/RenderWidget: Fix getting painted over
This commit is contained in:
parent
b059b3a646
commit
c1dccdc0e5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue