From 2d2e1976cbeb50bad7e7670e8a48353ea8e18ca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 3 Apr 2014 11:00:25 +0200 Subject: [PATCH] Fix EffectsHandlerImpl::getProxy Internal name of effects no longer starts with kwin4_effect. --- effects.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/effects.cpp b/effects.cpp index c7c8caef96..1963c48216 100644 --- a/effects.cpp +++ b/effects.cpp @@ -743,9 +743,6 @@ void EffectsHandlerImpl::registerAxisShortcut(Qt::KeyboardModifiers modifiers, P void* EffectsHandlerImpl::getProxy(QString name) { - // All effects start with "kwin4_effect_", prepend it to the name - name.prepend(QStringLiteral("kwin4_effect_")); - for (QVector< EffectPair >::const_iterator it = loaded_effects.constBegin(); it != loaded_effects.constEnd(); ++it) if ((*it).first == name) return (*it).second->proxy();