don't squash delete events during shutdown so that QWebEngine process gets destroyed

This commit is contained in:
Seth Alves 2018-08-22 11:04:26 -07:00
parent d3fd2132ce
commit 579b2435c2

View file

@ -3667,7 +3667,7 @@ bool Application::event(QEvent* event) {
bool Application::eventFilter(QObject* object, QEvent* event) {
if (_aboutToQuit) {
if (_aboutToQuit && event->type() != QEvent::DeferredDelete && event->type() != QEvent::Destroy) {
return true;
}