ui: Made all indexing dialogs hideable

* all dialogs for the indexing usecase can be hidden regardless of project state
* fixed some dialogs could not be shown
* pass dialogview into project and all indexing tasks
* pass application to project and tasks
This commit is contained in:
Eberhard Graether
2018-07-25 23:49:46 +02:00
parent b055b4c7dc
commit afec261872
16 changed files with 83 additions and 64 deletions
+2
View File
@@ -16,6 +16,7 @@ class TaskCleanStorage
public:
TaskCleanStorage(
std::weak_ptr<PersistentStorage> storage,
std::shared_ptr<DialogView> dialogView,
const std::vector<FilePath>& filePaths,
bool clearAllErrors
);
@@ -27,6 +28,7 @@ private:
void doReset(std::shared_ptr<Blackboard> blackboard) override;
std::weak_ptr<PersistentStorage> m_storage;
std::shared_ptr<DialogView> m_dialogView;
std::vector<FilePath> m_filePaths;
bool m_clearAllErrors;