Made Insight settings object mutable via Insight

This commit is contained in:
Nav
2022-01-22 16:14:03 +00:00
parent c063b69490
commit 051b7e1e8e
4 changed files with 52 additions and 19 deletions

View File

@@ -43,7 +43,7 @@ namespace Bloom
const ProjectConfig& projectConfig,
const EnvironmentConfig& environmentConfig,
const InsightConfig& insightConfig,
const InsightProjectSettings& insightProjectSettings
InsightProjectSettings& insightProjectSettings
):
eventManager(eventManager),
projectConfig(projectConfig),
@@ -74,7 +74,7 @@ namespace Bloom
EnvironmentConfig environmentConfig;
InsightConfig insightConfig;
InsightProjectSettings insightProjectSettings;
InsightProjectSettings& insightProjectSettings;
EventManager& eventManager;
EventListenerPointer eventListener = std::make_shared<EventListener>("InsightEventListener");
@@ -84,7 +84,8 @@ namespace Bloom
InsightWindow* mainWindow = new InsightWindow(
*(this->insightWorker),
this->environmentConfig,
this->insightConfig
this->insightConfig,
this->insightProjectSettings
);
TargetControllerConsole targetControllerConsole = TargetControllerConsole(