Attempting to protect against infinite recursion

This commit is contained in:
Brad Davis 2015-07-03 07:09:57 -07:00
parent e459d0cb83
commit b529901b1a

View file

@ -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;