Fixed invalid memory access in Insight due to argv and argc lifetimes not being guaranteed

This commit is contained in:
Nav
2021-05-09 00:37:30 +01:00
parent 19b970d160
commit ceb72aa04d
2 changed files with 5 additions and 5 deletions

View File

@@ -24,6 +24,10 @@ namespace Bloom
{
Q_OBJECT
private:
std::string qtApplicationName = "Bloom";
std::array<char*, 1> qtApplicationArgv = {this->qtApplicationName.data()};
int qtApplicationArgc = 1;
ApplicationConfig applicationConfig;
EnvironmentConfig environmentConfig;
InsightConfig insightConfig;