TaskTree: Rename TreeStorage<> -> Storage<>

This addresses the 20th point in the master task below.

Task-number: QTCREATORBUG-28741
Change-Id: I696beda87430fbe637abba8054012fb77516e220
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2023-11-19 14:50:55 +01:00
parent 9800f1bdc4
commit ce80a6dad5
48 changed files with 93 additions and 93 deletions

View File

@@ -236,7 +236,7 @@ GitDiffEditorController::GitDiffEditorController(IDocument *document,
const QStringList &extraArgs)
: GitBaseDiffEditorController(document)
{
const TreeStorage<QString> diffInputStorage;
const Storage<QString> diffInputStorage;
const auto onDiffSetup = [=](Process &process) {
process.setCodec(VcsBaseEditor::getCodec(workingDirectory(), {}));
@@ -299,8 +299,8 @@ FileListDiffController::FileListDiffController(IDocument *document, const QStrin
QString m_unstagedOutput;
};
const TreeStorage<DiffStorage> storage;
const TreeStorage<QString> diffInputStorage;
const Storage<DiffStorage> storage;
const Storage<QString> diffInputStorage;
const auto onStagedSetup = [this, stagedFiles](Process &process) {
if (stagedFiles.isEmpty())
@@ -371,8 +371,8 @@ ShowController::ShowController(IDocument *document, const QString &id)
QStringList m_follows;
};
const TreeStorage<ReloadStorage> storage;
const TreeStorage<QString> diffInputStorage;
const Storage<ReloadStorage> storage;
const Storage<QString> diffInputStorage;
const auto updateDescription = [this](const ReloadStorage &storage) {
QString desc = storage.m_header;