forked from qt-creator/qt-creator
PathChooser: Read version info also from standard error
Some apps (e.g. OpenSSH) write version info to standard error Change-Id: I8dee64709930f4984dba23e71a54ab47faac0778 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
committed by
Friedemann Kleint
parent
123c5570cd
commit
231da017f6
@@ -166,7 +166,7 @@ QString BinaryVersionToolTipEventFilter::toolVersion(const QString &binary, cons
|
|||||||
Utils::SynchronousProcess::stopProcess(proc);
|
Utils::SynchronousProcess::stopProcess(proc);
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
return QString::fromLocal8Bit(proc.readAllStandardOutput());
|
return QString::fromLocal8Bit(proc.readAllStandardOutput() + proc.readAllStandardError());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extends BinaryVersionToolTipEventFilter to prepend the existing pathchooser
|
// Extends BinaryVersionToolTipEventFilter to prepend the existing pathchooser
|
||||||
|
|||||||
Reference in New Issue
Block a user