diff --git a/effects/desktopgrid/desktopgrid.cpp b/effects/desktopgrid/desktopgrid.cpp
index 2b7d04f19a..8b03a55f25 100644
--- a/effects/desktopgrid/desktopgrid.cpp
+++ b/effects/desktopgrid/desktopgrid.cpp
@@ -25,6 +25,7 @@ along with this program. If not, see .
#include "desktopgridconfig.h"
#include "../presentwindows/presentwindows_proxy.h"
+#include "../effect_builtins.h"
#include
@@ -1092,7 +1093,7 @@ void DesktopGridEffect::setup()
// setup the motion managers
if (m_usePresentWindows)
- m_proxy = static_cast(effects->getProxy(QStringLiteral("presentwindows")));
+ m_proxy = static_cast(effects->getProxy(BuiltInEffects::nameForEffect(BuiltInEffect::PresentWindows)));
if (isUsingPresentWindows()) {
for (int i = 1; i <= effects->numberOfDesktops(); i++) {
for (int j = 0; j < effects->numScreens(); j++) {