mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 02:10:53 +00:00
Changed: Open in ReadOnly the process
This commit is contained in:
parent
aa42c17fed
commit
60e927a3a0
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue