diff --git a/app/src/updaters/appupdater.cpp b/app/src/updaters/appupdater.cpp
index b5952489a467d07025a33d442c34dbe2168a6064..4044d1922bedbcc8f7e43f13c209c6fdefdd5a33 100644
--- a/app/src/updaters/appupdater.cpp
+++ b/app/src/updaters/appupdater.cpp
@@ -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);