mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
|
@ -281,7 +281,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
|||
locales_to_skip.push_back("te"); // Telugu
|
||||
}
|
||||
|
||||
if (!locales_to_skip.empty()) {
|
||||
if (!locales_to_skip.is_empty()) {
|
||||
WARN_PRINT("Some locales are not properly supported by selected Text Server and are disabled.");
|
||||
}
|
||||
|
||||
|
|
@ -1476,7 +1476,7 @@ bool EditorSettings::is_default_text_editor_theme() {
|
|||
Vector<String> EditorSettings::get_script_templates(const String &p_extension, const String &p_custom_path) {
|
||||
Vector<String> templates;
|
||||
String template_dir = get_script_templates_dir();
|
||||
if (!p_custom_path.empty()) {
|
||||
if (!p_custom_path.is_empty()) {
|
||||
template_dir = p_custom_path;
|
||||
}
|
||||
DirAccess *d = DirAccess::open(template_dir);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue