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:
parent
eee302c040
commit
0a7eed71f3
|
@ -454,6 +454,8 @@ bool RenderWidget::event(QEvent* event)
|
|||
case QEvent::Close:
|
||||
emit Closed();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return QWidget::event(event);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue