Moved Insight QApplication object to stack

This commit is contained in:
Nav
2021-07-23 23:15:52 +01:00
parent 8a048311ac
commit 3be850fbbf
2 changed files with 6 additions and 9 deletions

View File

@@ -35,7 +35,7 @@ namespace Bloom
EventManager& eventManager;
EventListenerPointer eventListener = std::make_shared<EventListener>("InsightEventListener");
QApplication* application = nullptr;
QApplication application = QApplication(this->qtApplicationArgc, this->qtApplicationArgv.data());
InsightWindow mainWindow;
TargetControllerConsole targetControllerConsole = TargetControllerConsole(