You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -1545,7 +1545,7 @@ bool ProjectList::is_any_project_missing() const {
|
||||
}
|
||||
|
||||
void ProjectList::erase_missing_projects() {
|
||||
if (_projects.empty()) {
|
||||
if (_projects.is_empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1875,7 +1875,7 @@ void ProjectManager::_dim_window() {
|
||||
|
||||
void ProjectManager::_update_project_buttons() {
|
||||
Vector<ProjectList::Item> selected_projects = _project_list->get_selected_projects();
|
||||
bool empty_selection = selected_projects.empty();
|
||||
bool empty_selection = selected_projects.is_empty();
|
||||
|
||||
bool is_missing_project_selected = false;
|
||||
for (int i = 0; i < selected_projects.size(); ++i) {
|
||||
|
||||
Reference in New Issue
Block a user