summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/patchtool.cpp
diff options
context:
space:
mode:
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 f57a586544..098575b325 100644
--- a/src/plugins/coreplugin/patchtool.cpp
+++ b/src/plugins/coreplugin/patchtool.cpp
@@ -111,7 +111,7 @@ bool PatchTool::runPatch(const QByteArray &input, const QString &workingDirector
patchProcess.closeWriteChannel();
QByteArray stdOut;
QByteArray stdErr;
- if (!Utils::SynchronousProcess::readDataFromProcess(patchProcess, 30000, &stdOut, &stdErr, true)) {
+ if (!Utils::SynchronousProcess::readDataFromProcess(patchProcess, 30, &stdOut, &stdErr, true)) {
Utils::SynchronousProcess::stopProcess(patchProcess);
MessageManager::write(QApplication::translate("Core::PatchTool", "A timeout occurred running \"%1\"").arg(patch));
return false;