python310Packages.onlykey-solo-python: fix compatibility with fido2 1.1.3 (#354382)
[NixPkgs.git] / pkgs / kde / plasma / kde-gtk-config / dependency-paths.patch
blobb54c8e7a5162e861dd52f084337fe244ad528d3b
1 diff --git a/kded/config_editor/xsettings.cpp b/kded/config_editor/xsettings.cpp
2 index 1f9fe5b..9824973 100644
3 --- a/kded/config_editor/xsettings.cpp
4 +++ b/kded/config_editor/xsettings.cpp
5 @@ -46,7 +46,7 @@ void replaceValueInXSettingsdContents(QString &xSettingsdContents, const QString
6 pid_t pidOfXSettingsd()
8 QProcess pgrep;
9 - pgrep.start(QStringLiteral("pgrep"),
10 + pgrep.start(QStringLiteral("@pgrep@"),
11 QStringList{
12 QStringLiteral("-u"),
13 QString::number(getuid()),
14 @@ -67,7 +67,7 @@ reloadXSettingsd(void *)
16 pid_t xSettingsdPid = pidOfXSettingsd();
17 if (xSettingsdPid == 0) {
18 - QProcess::startDetached(QStandardPaths::findExecutable(QStringLiteral("xsettingsd")), QStringList());
19 + QProcess::startDetached(QStringLiteral("@xsettingsd@"), QStringList());
20 } else {
21 kill(xSettingsdPid, SIGHUP);