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>
This commit is contained in:
Jarek Kobus
2022-12-09 12:11:10 +01:00
parent 69abc39aea
commit 2596f39823

View File

@@ -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,