summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-29 21:48:18 +0200
committerGitHub <noreply@github.com>2022-03-29 21:48:18 +0200
commit5c2e85879036f37cf1fc0edb4377682e45bc6607 (patch)
tree4bcbb5ff7282b068078febd6ec8fe657dc29fa56 /editor
parentda346ed4ad6939b4fef2d3babe23d9bb74fd4114 (diff)
parent7af275e2d5f9dc006710760cd7e27dc946fb610e (diff)
Merge pull request #59679 from marstaik/upstream_fix_init
Fix lack of ProjectManager nullptr initializations
Diffstat (limited to 'editor')
-rw-r--r--editor/project_manager.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/editor/project_manager.h b/editor/project_manager.h
index 2965dc7d2e..4f053793fd 100644
--- a/editor/project_manager.h
+++ b/editor/project_manager.h
@@ -55,46 +55,46 @@ class ProjectManager : public Control {
static ProjectManager *singleton;
- TabContainer *tabs;
+ TabContainer *tabs = nullptr;
- ProjectList *_project_list;
+ ProjectList *_project_list = nullptr;
- LineEdit *search_box;
- Label *loading_label;
- OptionButton *filter_option;
+ LineEdit *search_box = nullptr;
+ Label *loading_label = nullptr;
+ OptionButton *filter_option = nullptr;
- Button *run_btn;
- Button *open_btn;
- Button *rename_btn;
- Button *erase_btn;
- Button *erase_missing_btn;
- Button *about_btn;
+ Button *run_btn = nullptr;
+ Button *open_btn = nullptr;
+ Button *rename_btn = nullptr;
+ Button *erase_btn = nullptr;
+ Button *erase_missing_btn = nullptr;
+ Button *about_btn = nullptr;
- EditorAssetLibrary *asset_library;
+ EditorAssetLibrary *asset_library = nullptr;
- EditorFileDialog *scan_dir;
- ConfirmationDialog *language_restart_ask;
+ EditorFileDialog *scan_dir = nullptr;
+ ConfirmationDialog *language_restart_ask = nullptr;
- ConfirmationDialog *erase_ask;
- Label *erase_ask_label;
- CheckBox *delete_project_contents;
+ ConfirmationDialog *erase_ask = nullptr;
+ Label *erase_ask_label = nullptr;
+ CheckBox *delete_project_contents = nullptr;
- ConfirmationDialog *erase_missing_ask;
- ConfirmationDialog *multi_open_ask;
- ConfirmationDialog *multi_run_ask;
- ConfirmationDialog *multi_scan_ask;
- ConfirmationDialog *ask_update_settings;
- ConfirmationDialog *open_templates;
- EditorAbout *about;
+ ConfirmationDialog *erase_missing_ask = nullptr;
+ ConfirmationDialog *multi_open_ask = nullptr;
+ ConfirmationDialog *multi_run_ask = nullptr;
+ ConfirmationDialog *multi_scan_ask = nullptr;
+ ConfirmationDialog *ask_update_settings = nullptr;
+ ConfirmationDialog *open_templates = nullptr;
+ EditorAbout *about = nullptr;
- HBoxContainer *settings_hb;
+ HBoxContainer *settings_hb = nullptr;
- AcceptDialog *run_error_diag;
- AcceptDialog *dialog_error;
- ProjectDialog *npdialog;
+ AcceptDialog *run_error_diag = nullptr;
+ AcceptDialog *dialog_error = nullptr;
+ ProjectDialog *npdialog = nullptr;
- OptionButton *language_btn;
- LinkButton *version_btn;
+ OptionButton *language_btn = nullptr;
+ LinkButton *version_btn = nullptr;
void _open_asset_library();
void _scan_projects();