forked from qt-creator/qt-creator
VcsPlugin: Use VcsCommand::done() signal instead of finished()
Conform to QtcProcess interface. Use result() when needed. Change-Id: Idd4c71d9a103e8649b08ec7787c2f286423a31ec Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -420,7 +420,7 @@ bool BranchView::checkout()
|
||||
const bool moveChanges = branchCheckoutDialog.moveLocalChangesToNextBranch();
|
||||
const bool popStash = branchCheckoutDialog.popStashOfNextBranch();
|
||||
if (command && (moveChanges || popStash)) {
|
||||
connect(command, &VcsCommand::finished,
|
||||
connect(command, &VcsCommand::done,
|
||||
this, [this, client, popMessageStart, moveChanges, popStash] {
|
||||
if (moveChanges) {
|
||||
client->endStashScope(m_repository);
|
||||
|
||||
Reference in New Issue
Block a user