QtcProcess: Get rid of unneeded arg from readDataFromProcess()

Change-Id: Ifecf7b4a9668bc362e454a6e5084eb1d7308e4eb
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Jarek Kobus
2022-07-05 18:01:44 +02:00
parent e793841b4f
commit 61258bd658
6 changed files with 9 additions and 13 deletions

View File

@@ -1328,7 +1328,7 @@ PerforceResponse PerforcePluginPrivate::fullySynchronousProcess(const FilePath &
QByteArray stdOut;
QByteArray stdErr;
const int timeOutS = (flags & LongTimeOut) ? m_settings.longTimeOutS() : m_settings.timeOutS.value();
if (!process.readDataFromProcess(timeOutS, &stdOut, &stdErr, true)) {
if (!process.readDataFromProcess(timeOutS, &stdOut, &stdErr)) {
process.stop();
process.waitForFinished();
response.error = true;