Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
22 lines
918 B
Diff
22 lines
918 B
Diff
diff --git a/kded/config_editor/xsettings.cpp b/kded/config_editor/xsettings.cpp
|
|
index 1f9fe5b..9824973 100644
|
|
--- a/kded/config_editor/xsettings.cpp
|
|
+++ b/kded/config_editor/xsettings.cpp
|
|
@@ -46,7 +46,7 @@ void replaceValueInXSettingsdContents(QString &xSettingsdContents, const QString
|
|
pid_t pidOfXSettingsd()
|
|
{
|
|
QProcess pgrep;
|
|
- pgrep.start(QStringLiteral("pgrep"),
|
|
+ pgrep.start(QStringLiteral("@pgrep@"),
|
|
QStringList{
|
|
QStringLiteral("-u"),
|
|
QString::number(getuid()),
|
|
@@ -67,7 +67,7 @@ reloadXSettingsd(void *)
|
|
{
|
|
pid_t xSettingsdPid = pidOfXSettingsd();
|
|
if (xSettingsdPid == 0) {
|
|
- QProcess::startDetached(QStandardPaths::findExecutable(QStringLiteral("xsettingsd")), QStringList());
|
|
+ QProcess::startDetached(QStringLiteral("@xsettingsd@"), QStringList());
|
|
} else {
|
|
kill(xSettingsdPid, SIGHUP);
|
|
}
|