forked from qt-creator/qt-creator
Process: Use more rawStd{Out,Err} const methods instead of mutable ones
Avoid using readAllStandard{Output,Error} mutable methods if possible.
Use non-mutable methods when we are not connected to
readyReadStandard{Output,Error} signals.
Change-Id: I2e830e571b9eab2177fd856bbe06dfc5137d9c01
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -475,7 +475,7 @@ void CppModelManager::showPreprocessedFile(bool inNextSplit)
|
||||
return;
|
||||
}
|
||||
if (isMsvc)
|
||||
saveAndOpen(outFilePath, compiler->readAllRawStandardOutput(), inNextSplit);
|
||||
saveAndOpen(outFilePath, compiler->rawStdOut(), inNextSplit);
|
||||
else
|
||||
openEditor(outFilePath, inNextSplit, Core::Constants::K_DEFAULT_TEXT_EDITOR_ID);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user