forked from qt-creator/qt-creator
TaskTree: Get rid of Storage subclass of GroupItem
Make the c'tor of the GroupItem taking the TreeStorageBase public instead. This addresses the 20th point in the master task below. Task-number: QTCREATORBUG-28741 Change-Id: I78320ec24b4e4b915ab549135fb93b45c658b9f2 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -248,7 +248,7 @@ GitDiffEditorController::GitDiffEditorController(IDocument *document,
|
||||
};
|
||||
|
||||
const Group root {
|
||||
Tasking::Storage(diffInputStorage),
|
||||
diffInputStorage,
|
||||
ProcessTask(onDiffSetup, onDiffDone, CallDoneIf::Success),
|
||||
postProcessTask(diffInputStorage)
|
||||
};
|
||||
@@ -333,8 +333,8 @@ FileListDiffController::FileListDiffController(IDocument *document, const QStrin
|
||||
};
|
||||
|
||||
const Group root {
|
||||
Tasking::Storage(storage),
|
||||
Tasking::Storage(diffInputStorage),
|
||||
storage,
|
||||
diffInputStorage,
|
||||
Group {
|
||||
parallel,
|
||||
continueOnSuccess,
|
||||
@@ -527,8 +527,8 @@ ShowController::ShowController(IDocument *document, const QString &id)
|
||||
};
|
||||
|
||||
const Group root {
|
||||
Tasking::Storage(storage),
|
||||
Tasking::Storage(diffInputStorage),
|
||||
storage,
|
||||
diffInputStorage,
|
||||
parallel,
|
||||
onGroupSetup([this] { setStartupFile(VcsBase::source(this->document()).toString()); }),
|
||||
Group {
|
||||
|
||||
Reference in New Issue
Block a user