Commit c7988e8c authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Nate Graham
Browse files

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


(cherry picked from commit b1c1603c)
parent 7e25e200
Pipeline #139153 passed with stage
in 28 minutes and 17 seconds
......@@ -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()));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment