summaryrefslogtreecommitdiffstats
path: root/src/render/backend/platformsurfacefilter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/backend/platformsurfacefilter.cpp')
-rw-r--r--src/render/backend/platformsurfacefilter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/render/backend/platformsurfacefilter.cpp b/src/render/backend/platformsurfacefilter.cpp
index 7458f607d..891e30c44 100644
--- a/src/render/backend/platformsurfacefilter.cpp
+++ b/src/render/backend/platformsurfacefilter.cpp
@@ -107,10 +107,6 @@ bool PlatformSurfaceFilter::eventFilter(QObject *obj, QEvent *e)
// If we remove it, the call to isSurfaceValid will
// implicitely return false
PlatformSurfaceFilter::m_surfacesValidity.remove(m_surface);
- if (m_obj) {
- m_obj->removeEventFilter(this);
- m_obj = nullptr;
- }
break;
}