mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Added _aboutToQuit guard on eventFilter()
This commit is contained in:
parent
a375ea8bd6
commit
52e5bdb360
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue