forked from qt-creator/qt-creator
Utils: Simplify QtcProcess::exitMessage() interface
This was requiring parameters the process object already knows. This is a slight behavior change in most cases, it now includes always the command line arguments, which previously only happened in gcctoolchain.cpp and iarewtoolchain.cpp. Change-Id: Id25a68c397e2f1d8bf52ab29210e215b1de46c6d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -59,7 +59,7 @@ static QString runExecutable(const Utils::CommandLine &commandLine,
|
||||
if (cpp.result() != QtcProcess::Finished
|
||||
&& (failSilently == FailSilently::No
|
||||
|| cpp.result() != QtcProcess::FinishedError)) {
|
||||
Core::MessageManager::writeFlashing(cpp.exitMessage(commandLine.toUserOutput(), 10));
|
||||
Core::MessageManager::writeFlashing(cpp.exitMessage());
|
||||
Core::MessageManager::writeFlashing(QString::fromUtf8(cpp.allRawOutput()));
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user