summaryrefslogtreecommitdiff
path: root/editor/settings_config_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/settings_config_dialog.h')
-rw-r--r--editor/settings_config_dialog.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/editor/settings_config_dialog.h b/editor/settings_config_dialog.h
index 05566762fc..b1ee58ae8f 100644
--- a/editor/settings_config_dialog.h
+++ b/editor/settings_config_dialog.h
@@ -5,8 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/*************************************************************************/
-/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */
-/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */
+/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */
+/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
@@ -38,7 +38,6 @@
#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);
@@ -64,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);
@@ -94,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();