From b1c1603c8cbe37430a214b57d6bdd1be13c4eef1 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Thu, 17 Feb 2022 16:34:42 +0100 Subject: [PATCH] inputmethod: Fix read setting It's specified as a Path in the kcfg file and the KCM will replace the /home path into $HOME, and I imagine it may do some others likethat. BUG: 450430 --- src/main_wayland.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); }