Verified Commit a92d1f3b authored by azubieta's avatar azubieta
Browse files

use different QProcess::startDetached signature

parent 4e9e0ef2
......@@ -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);
......
Supports Markdown
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