From 52e5bdb360858d48cf82545e726a57aca26deea9 Mon Sep 17 00:00:00 2001 From: MuteTab Date: Mon, 23 Jul 2018 14:27:38 -0700 Subject: [PATCH] Added _aboutToQuit guard on eventFilter() --- interface/src/Application.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 311c08b858..122227da2c 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -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(); }