diff --git a/src/main_wayland.cpp b/src/main_wayland.cpp index 3318f2b26f..346426fd7c 100644 --- a/src/main_wayland.cpp +++ b/src/main_wayland.cpp @@ -210,7 +210,7 @@ void ApplicationWayland::refreshSettings(const KConfigGroup &group, const QByteA return; } - KDesktopFile file(group.readEntry("InputMethod", QString())); + KDesktopFile file(group.readPathEntry("InputMethod", QString())); InputMethod::self()->setInputMethodCommand(file.desktopGroup().readEntry("Exec", QString())); }