summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/patchtool.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2022-07-05 18:07:05 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2022-07-11 10:21:46 +0000
commitf330a7b1e9aeef082a8dfb6472cfabe8ebfb7524 (patch)
tree752e17515589d76fcb949ad3e57bedfb812f5060 /src/plugins/coreplugin/patchtool.cpp
parent61258bd6584c6d8451d4d1b740380b5af28a65b6 (diff)
downloadqt-creator-f330a7b1e9aeef082a8dfb6472cfabe8ebfb7524.tar.gz
QtcProcess: Make timeoutS a default arg of 30 seconds
Change-Id: Id11911e74ede109b49583d82592b333ad577e8ee Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/patchtool.cpp')
-rw-r--r--src/plugins/coreplugin/patchtool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/patchtool.cpp b/src/plugins/coreplugin/patchtool.cpp
index 2bb8b72df4..655298cc9a 100644
--- a/src/plugins/coreplugin/patchtool.cpp
+++ b/src/plugins/coreplugin/patchtool.cpp
@@ -111,7 +111,7 @@ static bool runPatchHelper(const QByteArray &input, const FilePath &workingDirec
QByteArray stdOut;
QByteArray stdErr;
- if (!patchProcess.readDataFromProcess(30, &stdOut, &stdErr)) {
+ if (!patchProcess.readDataFromProcess(&stdOut, &stdErr)) {
patchProcess.stop();
patchProcess.waitForFinished();
MessageManager::writeFlashing(