Commit c16c9c14 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port deprecated method

parent a833d0ef
......@@ -261,7 +261,7 @@ void ConfigEditor::reloadXSettingsd()
{
pid_t xSettingsdPid = pidOfXSettingsd();
if (xSettingsdPid == 0) {
QProcess::startDetached(QStandardPaths::findExecutable(QStringLiteral("xsettingsd")));
QProcess::startDetached(QStandardPaths::findExecutable(QStringLiteral("xsettingsd")), QStringList());
} else {
kill(xSettingsdPid, SIGHUP);
}
......
......@@ -39,7 +39,7 @@ void ThemePreviewer::showGtk3App(const QString& themeName)
gtk3PreviewEnvironment.insert(QStringLiteral("GTK_THEME"), themeName);
gtk3PreviewerProccess.setProcessEnvironment(gtk3PreviewEnvironment);
gtk3PreviewerProccess.start(gtk3PreviewerExecutablePath);
gtk3PreviewerProccess.start(gtk3PreviewerExecutablePath, QStringList());
} else {
gtk3PreviewerProccess.close();
}
......
Markdown is supported
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