diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-09-29 16:09:29 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2022-09-29 15:15:38 +0000 |
commit | 460f3477570f88fcd5db806f4932f5345092dc0c (patch) | |
tree | 8d5e5efe7a91834d5f1f33dc2476cf5a74ec7e5d /src/plugins/git | |
parent | b67c868f757a05ef0785f671439dd9132930b1dd (diff) |
VcsBaseEditor: Get rid of diffChunkApplied()
Drop unused arg from diffChunkReverted().
Change-Id: I5531645d317d62ae92cd0e63dadd583f8ab8996d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/git')
-rw-r--r-- | src/plugins/git/giteditor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/git/giteditor.cpp b/src/plugins/git/giteditor.cpp index 5c5254a8ae..305d4f1198 100644 --- a/src/plugins/git/giteditor.cpp +++ b/src/plugins/git/giteditor.cpp @@ -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); } |