forked from qt-creator/qt-creator
Vcs: Simplify VcsCommand::runCommand interface
The timeout and exit code interpreter properties are already accessible via the SynchronousProcess parameter. Change-Id: I1ba9c768a781009df65b5070a1d017c41d7e2663 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -78,11 +78,9 @@ const Environment VcsCommand::processEnvironment() const
|
||||
|
||||
void VcsCommand::runCommand(SynchronousProcess &proc,
|
||||
const CommandLine &command,
|
||||
int timeoutS,
|
||||
const QString &workingDirectory,
|
||||
const ExitCodeInterpreter &interpreter)
|
||||
const QString &workingDirectory)
|
||||
{
|
||||
ShellCommand::runCommand(proc, command, timeoutS, workingDirectory, interpreter);
|
||||
ShellCommand::runCommand(proc, command, workingDirectory);
|
||||
emitRepositoryChanged(workingDirectory);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user