diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-12-09 12:11:10 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-12-09 11:24:27 +0000 |
commit | 2596f39823737081de445248316f7c1161994427 (patch) | |
tree | 547102647bd688544daacbc3fc8fa987766105cf | |
parent | 69abc39aead7414fc20f55680de0a88ae4b846ea (diff) |
VcsBase: Fix connection in revertAll()
The original intention was to connect to done signal
of the executed command.
Change-Id: I35e1f931a54bf763c3d9ffc71237b1d96cda1343
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
-rw-r--r-- | src/plugins/vcsbase/vcsbaseclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/vcsbaseclient.cpp b/src/plugins/vcsbase/vcsbaseclient.cpp index 0ba1497cf1..7513c02e47 100644 --- a/src/plugins/vcsbase/vcsbaseclient.cpp +++ b/src/plugins/vcsbase/vcsbaseclient.cpp @@ -437,7 +437,7 @@ void VcsBaseClient::revertAll(const FilePath &workingDir, if (cmd->result() == ProcessResult::FinishedWithSuccess) emit changed(files); }, Qt::QueuedConnection); - enqueueJob(createCommand(workingDir), args); + enqueueJob(cmd, args); } void VcsBaseClient::status(const FilePath &workingDir, |