forked from qt-creator/qt-creator
VcsBase: Remove some ssh related methods
Remove VcsCommand::m_sshPrompt, as it is always taken from settings. Change-Id: I9f46bb5a9de03e907f2098ca72a647c969e55a27 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -55,7 +55,6 @@ VcsCommand::VcsCommand(const FilePath &workingDirectory, const Environment &envi
|
||||
|
||||
VcsOutputWindow::setRepository(workingDirectory.toString());
|
||||
setDisableUnixTerminal();
|
||||
m_sshPrompt = VcsBase::sshPrompt();
|
||||
|
||||
connect(this, &VcsCommand::started, this, [this] {
|
||||
if (flags() & ExpectRepoChanges)
|
||||
@@ -79,7 +78,7 @@ VcsCommand::VcsCommand(const FilePath &workingDirectory, const Environment &envi
|
||||
Environment VcsCommand::environment() const
|
||||
{
|
||||
Environment env = ShellCommand::environment();
|
||||
VcsBase::setProcessEnvironment(&env, flags() & ForceCLocale, m_sshPrompt);
|
||||
VcsBase::setProcessEnvironment(&env, flags() & ForceCLocale);
|
||||
return env;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user