Added _aboutToQuit guard on eventFilter()

This commit is contained in:
MuteTab 2018-07-23 14:27:38 -07:00
parent a375ea8bd6
commit 52e5bdb360

View file

@ -3650,6 +3650,10 @@ bool Application::event(QEvent* event) {
bool Application::eventFilter(QObject* object, QEvent* event) {
if (_aboutToQuit) {
return true;
}
if (event->type() == QEvent::Leave) {
getApplicationCompositor().handleLeaveEvent();
}