diff options
author | Orgad Shaneh <[email protected]> | 2013-08-16 17:02:30 +0300 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2013-08-20 12:53:33 +0200 |
commit | cc2610aa71ae012261b5fecbf615d41250d088ac (patch) | |
tree | af25da496ce0ef7b11f2ebf5a00e95f52a1547d8 /src/plugins/cvs/cvsplugin.cpp | |
parent | 1dd44cfba19be1063e2b8ba73a10df4ba36625ea (diff) |
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 <[email protected]>
Reviewed-by: Friedemann Kleint <[email protected]>
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/cvs/cvsplugin.cpp')
-rw-r--r-- | src/plugins/cvs/cvsplugin.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/cvs/cvsplugin.cpp b/src/plugins/cvs/cvsplugin.cpp index 06a54fa6833..1371e2418a4 100644 --- a/src/plugins/cvs/cvsplugin.cpp +++ b/src/plugins/cvs/cvsplugin.cpp @@ -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; |