diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-11 22:49:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-11 22:51:31 +0100 |
| commit | cfbe9d2f44e380efed7a61b5b5c7a2fec7794915 (patch) | |
| tree | 7d1933b5205c2f27616ff2ad3f4e0d0b477a2cd2 /src/wx/player_config_dialog.cc | |
| parent | 6f2844fee27f6ebb15ea772ea2cbfc7bdf988102 (diff) | |
Remove player activity logging. Fixes #2122.
If I remember right this was for swaroop and I suspect nobody else
is really interested.
Diffstat (limited to 'src/wx/player_config_dialog.cc')
| -rw-r--r-- | src/wx/player_config_dialog.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/wx/player_config_dialog.cc b/src/wx/player_config_dialog.cc index 802ab6b3b..91434beae 100644 --- a/src/wx/player_config_dialog.cc +++ b/src/wx/player_config_dialog.cc @@ -120,11 +120,6 @@ private: table->Add (_respect_kdm, wxGBPosition(r, 0), wxGBSpan(1, 2)); ++r; - add_label_to_sizer (table, _panel, _("Activity log file"), true, wxGBPosition (r, 0)); - _activity_log_file = new FilePickerCtrl (_panel, _("Select activity log file"), "*", false, true); - table->Add (_activity_log_file, wxGBPosition(r, 1)); - ++r; - add_label_to_sizer (table, _panel, _("Debug log file"), true, wxGBPosition (r, 0)); _debug_log_file = new FilePickerCtrl (_panel, _("Select debug log file"), "*", false, true); table->Add (_debug_log_file, wxGBPosition(r, 1)); @@ -134,7 +129,6 @@ private: _image_display->Bind (wxEVT_CHOICE, bind(&PlayerGeneralPage::image_display_changed, this)); _video_display_mode->Bind (wxEVT_CHOICE, bind(&PlayerGeneralPage::video_display_mode_changed, this)); _respect_kdm->Bind (wxEVT_CHECKBOX, bind(&PlayerGeneralPage::respect_kdm_changed, this)); - _activity_log_file->Bind (wxEVT_FILEPICKER_CHANGED, bind(&PlayerGeneralPage::activity_log_file_changed, this)); _debug_log_file->Bind (wxEVT_FILEPICKER_CHANGED, bind(&PlayerGeneralPage::debug_log_file_changed, this)); } @@ -167,9 +161,6 @@ private: checked_set (_image_display, config->image_display()); checked_set (_respect_kdm, config->respect_kdm_validity_periods()); - if (config->player_activity_log_file()) { - checked_set (_activity_log_file, *config->player_activity_log_file()); - } if (config->player_debug_log_file()) { checked_set (_debug_log_file, *config->player_debug_log_file()); } @@ -210,11 +201,6 @@ private: Config::instance()->set_respect_kdm_validity_periods(_respect_kdm->GetValue()); } - void activity_log_file_changed () - { - Config::instance()->set_player_activity_log_file(wx_to_std(_activity_log_file->GetPath())); - } - void debug_log_file_changed () { Config::instance()->set_player_debug_log_file(wx_to_std(_debug_log_file->GetPath())); @@ -224,7 +210,6 @@ private: wxChoice* _image_display; wxChoice* _video_display_mode; wxCheckBox* _respect_kdm; - FilePickerCtrl* _activity_log_file; FilePickerCtrl* _debug_log_file; }; |
