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
This commit is contained in:
parent
03a3ae666c
commit
b1c1603c8c
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ void ApplicationWayland::refreshSettings(const KConfigGroup &group, const QByteA
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
KDesktopFile file(group.readEntry("InputMethod", QString()));
|
KDesktopFile file(group.readPathEntry("InputMethod", QString()));
|
||||||
InputMethod::self()->setInputMethodCommand(file.desktopGroup().readEntry("Exec", QString()));
|
InputMethod::self()->setInputMethodCommand(file.desktopGroup().readEntry("Exec", QString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue