logic: release fixes
* disable windows error dialogs on application crash for indexer target * show indexing dialog at the start of indexing task instead of waiting for processes to start * fix escaping path to binary for indexer process * join garbagecollector thread when stopping * fix compile errors related to FilePath in deploy mode on windows
This commit is contained in:
@@ -29,6 +29,13 @@ void setupLogging(const std::string logFilePath)
|
||||
logManager->addLogger(fileLogger);
|
||||
}
|
||||
|
||||
void suppressCrashMessage()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);
|
||||
#endif // _WIN32
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication qtApp(argc, argv);
|
||||
@@ -68,6 +75,7 @@ int main(int argc, char *argv[])
|
||||
UserPaths::setUserDataPath(FilePath(userDataPath));
|
||||
|
||||
setupLogging(logFilePath);
|
||||
suppressCrashMessage();
|
||||
|
||||
ApplicationSettings* appSettings = ApplicationSettings::getInstance().get();
|
||||
appSettings->load(FilePath(UserPaths::getAppSettingsPath()));
|
||||
|
||||
Reference in New Issue
Block a user