From 7cd750e6f89e6e8c7eb4ed667bc0e7f7edffecc1 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 17 Oct 2016 13:07:32 +0200 Subject: [PATCH] Changed: Don't need arguments --- code/ryzom/tools/client/ryzom_installer/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/main.cpp b/code/ryzom/tools/client/ryzom_installer/src/main.cpp index 5e0bea7a9..df12afbe1 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/main.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/main.cpp @@ -256,14 +256,14 @@ int main(int argc, char *argv[]) { #ifndef _DEBUG // restart more recent installed Installer version - if (QProcess::startDetached(config.getInstallerInstalledFilePath(), QApplication::arguments())) return 0; + if (QProcess::startDetached(config.getInstallerInstalledFilePath())) return 0; #endif } else if (step == Done) { #if defined(Q_OS_WIN) && !defined(_DEBUG) // restart Installer, so it could be copied in TEMP and allowed to update itself - if (QProcess::startDetached(QApplication::applicationFilePath(), QApplication::arguments())) return 0; + if (QProcess::startDetached(QApplication::applicationFilePath())) return 0; #endif } }