Skip to content
Snippets Groups Projects
Verified Commit a92d1f3b authored by azubieta's avatar azubieta
Browse files

use different QProcess::startDetached signature

parent 4e9e0ef2
No related branches found
No related tags found
1 merge request!4use different QProcess::startDetached signature
......@@ -77,11 +77,10 @@ void AppUpdater::doRestart()
QProcess proc;
proc.setProgram(path);
proc.setEnvironment(getCleanSystemEnvironment());
qDebug() << proc.environment();
if (proc.startDetached()) {
if (proc.startDetached(path)) {
updateDialog.accept();
} else
updateDialog.showErrorMessage("Unable to start: " + path);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment