From 2e8f811d3f43657ab61d605b14208b13309d21f3 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 9 Nov 2021 15:34:08 +0200 Subject: [PATCH] Remove bogus full repaint in EffectsHandlerImpl::isEffectSupported() It makes no sense to schedule a full repaint when somebody checks if the specified effect is supported. --- src/effects.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/effects.cpp b/src/effects.cpp index e16dd047ea..f9bd1c8fb9 100644 --- a/src/effects.cpp +++ b/src/effects.cpp @@ -1422,7 +1422,6 @@ bool EffectsHandlerImpl::isEffectSupported(const QString &name) // next checks might require a context makeOpenGLContextCurrent(); - m_compositor->addRepaintFull(); return m_effectLoader->isEffectSupported(name);