Fix switch warning in RenderWidget

The compiler was throwing a bunch of `-Wswitch` warnings from RenderWidget
because of unhandled branches, so I added a default branch to quiet it.
This commit is contained in:
Fletcher Porter 2021-10-11 17:13:00 -07:00
parent eee302c040
commit 0a7eed71f3
1 changed files with 2 additions and 0 deletions

View File

@ -454,6 +454,8 @@ bool RenderWidget::event(QEvent* event)
case QEvent::Close:
emit Closed();
break;
default:
break;
}
return QWidget::event(event);
}