summaryrefslogtreecommitdiffstats
path: root/editor/create_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/create_dialog.h')
-rw-r--r--editor/create_dialog.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/editor/create_dialog.h b/editor/create_dialog.h
index 12385747c2..d2866e9f04 100644
--- a/editor/create_dialog.h
+++ b/editor/create_dialog.h
@@ -68,10 +68,9 @@ class CreateDialog : public ConfirmationDialog {
HashSet<StringName> type_blacklist;
void _update_search();
- bool _should_hide_type(const String &p_type) const;
- void _add_type(const String &p_type, const TypeCategory p_type_category);
- void _configure_search_option_item(TreeItem *r_item, const String &p_type, const TypeCategory p_type_category);
- String _top_result(const Vector<String> &p_candidates, const String &p_search_text) const;
+ bool _should_hide_type(const StringName &p_type) const;
+ void _add_type(const StringName &p_type, TypeCategory p_type_category);
+ void _configure_search_option_item(TreeItem *r_item, const StringName &p_type, TypeCategory p_type_category);
float _score_type(const String &p_type, const String &p_search) const;
bool _is_type_preferred(const String &p_type) const;