From 7ad0b610ba280e23c482a344ff65b5eb4eaa6a94 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 --HG-- branch : develop --- 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()) {