Fix MinGW build failure

This commit is contained in:
Roland Rossgotterer
2019-02-25 09:07:11 +01:00
committed by Mat Sutcliffe
parent 347ea91bf6
commit 04787bbf39

View File

@@ -1717,8 +1717,10 @@ namespace BlackCore
void CApplication::onCrashDumpUploadEnabledChanged()
{
#ifdef BLACK_USE_CRASHPAD
const bool enabled = CBuildConfig::isReleaseBuild() && m_crashDumpSettings.getThreadLocal().isEnabled();
this->enableCrashDumpUpload(enabled);
#endif
}
void CApplication::triggerCrashInfoWrite()