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