mirror of
https://github.com/overte-org/overte.git
synced 2025-08-19 03:17:18 +02:00
Attempting to protect against infinite recursion
This commit is contained in:
parent
e459d0cb83
commit
b529901b1a
1 changed files with 3 additions and 0 deletions
|
@ -276,6 +276,9 @@ QPointF OffscreenQmlSurface::mapWindowToUi(const QPointF& sourcePosition, QObjec
|
|||
//
|
||||
|
||||
bool OffscreenQmlSurface::eventFilter(QObject* originalDestination, QEvent* event) {
|
||||
if (_quickWindow == originalDestination) {
|
||||
return false;
|
||||
}
|
||||
// Only intercept events while we're in an active state
|
||||
if (_paused) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue