VcsBaseEditor: Get rid of diffChunkApplied()

Drop unused arg from diffChunkReverted().

Change-Id: I5531645d317d62ae92cd0e63dadd583f8ab8996d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2022-09-29 16:09:29 +02:00
parent b67c868f75
commit 460f347757
3 changed files with 4 additions and 11 deletions

View File

@@ -234,9 +234,7 @@ void GitEditorWidget::applyDiffChunk(const DiffChunk& chunk, PatchAction patchAc
else
VcsOutputWindow::append(errorMessage);
if (patchAction == PatchAction::Revert)
emit diffChunkReverted(chunk);
else
emit diffChunkApplied(chunk);
emit diffChunkReverted();
} else {
VcsOutputWindow::appendError(errorMessage);
}