Corrected EXCLUDE_INSIGHT regressions from moving QApplication into main application class

This commit is contained in:
Nav
2023-06-03 13:10:32 +01:00
parent 47d4a7edaf
commit db04783080
3 changed files with 14 additions and 3 deletions

View File

@@ -33,7 +33,11 @@ namespace Bloom
#ifndef BLOOM_DEBUG_BUILD
QCoreApplication::addLibraryPath(QString::fromStdString(Services::PathService::applicationDirPath() + "/plugins")),
#endif
QApplication(this->qtApplicationArgc, this->qtApplicationArgv.data())
#ifndef EXCLUDE_INSIGHT
QApplication(this->qtApplicationArgc, this->qtApplicationArgv.data())
#else
QCoreApplication(this->qtApplicationArgc, this->qtApplicationArgv.data())
#endif
)
)
{}