From 60e927a3a0f2ec983c1e7d0db1abf2f6973db49f Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 21 Oct 2016 14:26:46 +0200 Subject: [PATCH] Changed: Open in ReadOnly the process --- code/ryzom/tools/client/ryzom_installer/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp index 927b7f3b2..fc6a2ff7c 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp @@ -426,7 +426,7 @@ QString getVersionFromExecutable(const QString &path) // launch executable with --version argument QProcess process; process.setProcessChannelMode(QProcess::MergedChannels); - process.start(path, QStringList() << "--version", QIODevice::ReadWrite); + process.start(path, QStringList() << "--version", QIODevice::ReadOnly); if (!process.waitForStarted()) {