forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user