From dd519f1b38a1d21031cafc63c6d5f418669177ab Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sat, 28 Jan 2023 00:08:37 -0500 Subject: [PATCH] Remove WerSetFlags that was a pre-sentry test --- libs/kiplatform/msw/app.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libs/kiplatform/msw/app.cpp b/libs/kiplatform/msw/app.cpp index c7b9118f4d..b3c28e800b 100644 --- a/libs/kiplatform/msw/app.cpp +++ b/libs/kiplatform/msw/app.cpp @@ -51,11 +51,6 @@ bool KIPLATFORM::APP::Init() SetErrorMode( SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX ); #endif -#if defined( _MSC_VER ) - // ensure the WER crash report dialog always appears - WerSetFlags( WER_FAULT_REPORTING_ALWAYS_SHOW_UI ); -#endif - // remove CWD from the dll search paths // just the smallest of security tweaks as we do load DLLs on demand SetDllDirectory( wxT( "" ) );