forked from qt-creator/qt-creator
VCS: Enable calling runVcs from non-GUI threads
* Introduce a proxy class for thread synchronization * Use signals for appending text to output window Change-Id: Iecbb010e6b6e9dab27d9862a43dafa450f2bb1f8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
1dd44cfba1
commit
cc2610aa71
@@ -1236,9 +1236,8 @@ CvsResponse CvsPlugin::runCvs(const QString &workingDirectory,
|
||||
}
|
||||
// Run, connect stderr to the output window
|
||||
const Utils::SynchronousProcessResponse sp_resp =
|
||||
runVcs(workingDirectory, executable,
|
||||
m_settings.addOptions(arguments),
|
||||
timeOut, flags, outputCodec);
|
||||
runVcs(workingDirectory, executable, m_settings.addOptions(arguments),
|
||||
timeOut, VcsBase::VcsBasePlugin::sshPrompt(), flags, outputCodec);
|
||||
|
||||
response.result = CvsResponse::OtherError;
|
||||
response.stdErr = sp_resp.stdErr;
|
||||
|
Reference in New Issue
Block a user