diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-11-30 23:45:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-01 00:54:39 +0100 |
| commit | 42d11b68812108ccda802d0ff950b5299d08e40a (patch) | |
| tree | c67b5fad9af6148d722aef9770971466cc0ca54c /src/wx/general_preferences_page.h | |
| parent | e30a2d522f0a5e29ed13254e8cac0c0b3e91cedc (diff) | |
Add sentry crash reporting on Windows.sentry
Diffstat (limited to 'src/wx/general_preferences_page.h')
| -rw-r--r-- | src/wx/general_preferences_page.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wx/general_preferences_page.h b/src/wx/general_preferences_page.h index d871c2506..ed63f356b 100644 --- a/src/wx/general_preferences_page.h +++ b/src/wx/general_preferences_page.h @@ -48,6 +48,9 @@ protected: void add_language_controls(wxGridBagSizer* table, int& r); void add_config_file_controls(wxGridBagSizer* table, int& r); void add_update_controls(wxGridBagSizer* table, int& r); +#ifdef DCPOMATIC_SENTRY + void add_crash_reporting_controls(wxGridBagSizer* table, int& r); +#endif void config_changed() override; private: @@ -59,6 +62,9 @@ private: void export_cinemas_file(); void check_for_updates_changed(); void check_for_test_updates_changed(); +#ifdef DCPOMATIC_SENTRY + void enable_crash_reporting_changed(); +#endif CheckBox* _set_language = nullptr; wxChoice* _language = nullptr; @@ -66,6 +72,9 @@ private: FilePickerCtrl* _cinemas_file = nullptr; CheckBox* _check_for_updates = nullptr; CheckBox* _check_for_test_updates = nullptr; +#ifdef DCPOMATIC_SENTRY + CheckBox* _enable_crash_reporting = nullptr; +#endif }; |
