forked from qt-creator/qt-creator
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user