Merge pull request #13674 from r3tk0n/16984-CompositorHelper

Added _aboutToQuit guard on eventFilter()
This commit is contained in:
John Conklin II 2018-07-24 11:37:19 -07:00 committed by GitHub
commit 99c26e6363
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();
}