summaryrefslogtreecommitdiff
path: root/editor/editor_toaster.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_toaster.h')
-rw-r--r--editor/editor_toaster.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/editor/editor_toaster.h b/editor/editor_toaster.h
index 059245ce66..39db518258 100644
--- a/editor/editor_toaster.h
+++ b/editor/editor_toaster.h
@@ -61,11 +61,11 @@ private:
Ref<StyleBoxFlat> warning_panel_style_progress;
Ref<StyleBoxFlat> error_panel_style_progress;
- Button *main_button;
- PanelContainer *disable_notifications_panel;
- Button *disable_notifications_button;
+ Button *main_button = nullptr;
+ PanelContainer *disable_notifications_panel = nullptr;
+ Button *disable_notifications_button = nullptr;
- VBoxContainer *vbox_container;
+ VBoxContainer *vbox_container = nullptr;
const int max_temporary_count = 5;
struct Toast {
Severity severity = SEVERITY_INFO;
@@ -80,7 +80,7 @@ private:
String tooltip;
int count = 0;
};
- Map<Control *, Toast> toasts;
+ HashMap<Control *, Toast> toasts;
bool is_processing_error = false; // Makes sure that we don't handle errors that are triggered within the EditorToaster error processing.