diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-09 00:35:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-09 00:35:52 +0200 |
| commit | dd7996d3c27f167d4f80bd8862f39781507589d7 (patch) | |
| tree | bba8942f387af2c264524a64b2edc798e5886cd5 /src/wx/text_panel.h | |
| parent | 4e9a15d558ecca660eb74f54b693d1e4a3aa7381 (diff) | |
Tidy up some initialisation.
Diffstat (limited to 'src/wx/text_panel.h')
| -rw-r--r-- | src/wx/text_panel.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/wx/text_panel.h b/src/wx/text_panel.h index 7337e5258..c76449513 100644 --- a/src/wx/text_panel.h +++ b/src/wx/text_panel.h @@ -73,7 +73,7 @@ private: wxCheckBox* _reference; wxStaticText* _reference_note; - wxCheckBox* _outline_subtitles; + wxCheckBox* _outline_subtitles = nullptr; wxCheckBox* _use; wxChoice* _type; wxCheckBox* _burn; @@ -94,14 +94,14 @@ private: wxStaticText* _line_spacing_label; wxStaticText* _line_spacing_pc_label; SpinCtrl* _line_spacing; - wxStaticText* _dcp_track_label; - wxChoice* _dcp_track; + wxStaticText* _dcp_track_label = nullptr; + wxChoice* _dcp_track = nullptr; wxStaticText* _stream_label; wxChoice* _stream; wxButton* _text_view_button; - TextView* _text_view; + TextView* _text_view = nullptr; wxButton* _fonts_dialog_button; - FontsDialog* _fonts_dialog; + FontsDialog* _fonts_dialog = nullptr; wxButton* _appearance_dialog_button; TextType _original_type; wxStaticText* _language_label = nullptr; @@ -115,5 +115,5 @@ private: std::weak_ptr<Content> _analysis_content; boost::signals2::scoped_connection _analysis_finished_connection; std::shared_ptr<SubtitleAnalysis> _analysis; - bool _loading_analysis; + bool _loading_analysis = false; }; |
