diff --git a/src/scripting/scripting.cpp b/src/scripting/scripting.cpp index 3625dbe2ea..5d5b319879 100644 --- a/src/scripting/scripting.cpp +++ b/src/scripting/scripting.cpp @@ -103,7 +103,7 @@ KWin::AbstractScript::AbstractScript(int id, QString scriptName, QString pluginN } new ScriptAdaptor(this); - QDBusConnection::sessionBus().registerObject(QLatin1Char('/') + QString::number(scriptId()), this, QDBusConnection::ExportAdaptors); + QDBusConnection::sessionBus().registerObject(QStringLiteral("/Scripting/Script") + QString::number(scriptId()), this, QDBusConnection::ExportAdaptors); } KWin::AbstractScript::~AbstractScript()