VcsBaseDiffEditorController: Get rid of inputStorage() method

Pass explicitly the storage to the postProcessTask() instead.

Change-Id: I75ac10969530dfea1eac266b44481be3b1d8249b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2023-08-02 20:12:04 +02:00
parent d060d1b224
commit 6845434f3d
5 changed files with 14 additions and 24 deletions

View File

@@ -163,7 +163,7 @@ SubversionDiffEditorController::SubversionDiffEditorController(IDocument *docume
using namespace Tasking;
const TreeStorage<QString> diffInputStorage = inputStorage();
const TreeStorage<QString> diffInputStorage;
const auto setupDescription = [this](Process &process) {
if (m_changeNumber == 0)
@@ -209,7 +209,7 @@ SubversionDiffEditorController::SubversionDiffEditorController(IDocument *docume
},
Group {
ProcessTask(setupDiff, onDiffDone),
postProcessTask()
postProcessTask(diffInputStorage)
}
};
setReloadRecipe(root);