forked from qt-creator/qt-creator
VcsCommand: Remove one addJob overload
Remove defaultTimeoutS field, as it wasn't broadly used. Change-Id: I0056788b066eb6d682d5ba7acdb01d5dd3568967 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -363,7 +363,8 @@ void VcsCommandPage::delayedInitialize()
|
||||
}
|
||||
|
||||
const FilePath dir = wiz->expander()->expand(job.workDirectory);
|
||||
const int timeoutS = command->defaultTimeoutS() * job.timeOutFactor;
|
||||
const int defaultTimeoutS = 10;
|
||||
const int timeoutS = defaultTimeoutS * job.timeOutFactor;
|
||||
command->addJob({FilePath::fromUserInput(commandString), args}, timeoutS, dir);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user