From 3e0226515eec5f904701fce36c7856617d3ca6b8 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 9 Sep 2020 21:53:24 +0200 Subject: Rename ShortCut to Shortcut which is more grammatically correct See https://github.com/godotengine/godot/issues/16863#issuecomment-685236980. --- editor/editor_settings.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'editor/editor_settings.h') diff --git a/editor/editor_settings.h b/editor/editor_settings.h index 13aebb7ea6..4896fb58db 100644 --- a/editor/editor_settings.h +++ b/editor/editor_settings.h @@ -85,7 +85,7 @@ private: int last_order; Ref clipboard; - Map> shortcuts; + Map> shortcuts; String resource_path; String settings_dir; @@ -182,9 +182,9 @@ public: Vector get_script_templates(const String &p_extension, const String &p_custom_path = String()); String get_editor_layouts_config() const; - void add_shortcut(const String &p_name, Ref &p_shortcut); + void add_shortcut(const String &p_name, Ref &p_shortcut); bool is_shortcut(const String &p_name, const Ref &p_event) const; - Ref get_shortcut(const String &p_name) const; + Ref get_shortcut(const String &p_name) const; void get_shortcut_list(List *r_shortcuts); void notify_changes(); @@ -203,7 +203,7 @@ Variant _EDITOR_DEF(const String &p_setting, const Variant &p_default, bool p_re Variant _EDITOR_GET(const String &p_setting); #define ED_IS_SHORTCUT(p_name, p_ev) (EditorSettings::get_singleton()->is_shortcut(p_name, p_ev)) -Ref ED_SHORTCUT(const String &p_path, const String &p_name, uint32_t p_keycode = 0); -Ref ED_GET_SHORTCUT(const String &p_path); +Ref ED_SHORTCUT(const String &p_path, const String &p_name, uint32_t p_keycode = 0); +Ref ED_GET_SHORTCUT(const String &p_path); #endif // EDITOR_SETTINGS_H -- cgit v1.2.3