diff options
Diffstat (limited to 'editor/settings_config_dialog.h')
-rw-r--r-- | editor/settings_config_dialog.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/editor/settings_config_dialog.h b/editor/settings_config_dialog.h index 03dd18d23f..044519cb4d 100644 --- a/editor/settings_config_dialog.h +++ b/editor/settings_config_dialog.h @@ -38,10 +38,8 @@ #include "scene/gui/rich_text_label.h" #include "scene/gui/tab_container.h" #include "scene/gui/texture_rect.h" -#include "scene/gui/tool_button.h" class EditorSettingsDialog : public AcceptDialog { - GDCLASS(EditorSettingsDialog, AcceptDialog); bool updating; @@ -65,8 +63,8 @@ class EditorSettingsDialog : public AcceptDialog { String shortcut_configured; String shortcut_filter; - virtual void cancel_pressed(); - virtual void ok_pressed(); + virtual void cancel_pressed() override; + virtual void ok_pressed() override; void _settings_changed(); void _settings_property_edited(const String &p_name); @@ -95,7 +93,7 @@ class EditorSettingsDialog : public AcceptDialog { Label *restart_label; TextureRect *restart_icon; PanelContainer *restart_container; - ToolButton *restart_close_button; + Button *restart_close_button; void _editor_restart_request(); void _editor_restart(); |