forked from qt-creator/qt-creator
Utils: Rename QtcProcess::Result::Finished to FinishedWithSuccess
To make clear that this is not just any finish. Also change FinishedError to FinishedWithError, to create symmetry. Also adapt enum member description to reality. Change-Id: I13e05391eb86fdb24e2ae660f14dfddb282e1104 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -4981,7 +4981,7 @@ CoreInfo CoreInfo::readExecutableNameFromCore(const Runnable &debugger, const QS
|
||||
proc.setCommand({debugger.executable, args});
|
||||
proc.runBlocking();
|
||||
|
||||
if (proc.result() == QtcProcess::Finished) {
|
||||
if (proc.result() == QtcProcess::FinishedWithSuccess) {
|
||||
QString output = proc.stdOut();
|
||||
// Core was generated by `/data/dev/creator-2.6/bin/qtcreator'.
|
||||
// Program terminated with signal 11, Segmentation fault.
|
||||
|
||||
Reference in New Issue
Block a user