mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 22:51:08 +00:00
Replace NULL with nullptr
This commit is contained in:
parent
5f11e15571
commit
95a1400a2a
755 changed files with 5742 additions and 5742 deletions
|
|
@ -592,7 +592,7 @@ void DependencyErrorDialog::show(Mode p_mode, const String &p_for_file, const Ve
|
|||
set_title(TTR("Error loading:") + " " + p_for_file.get_file());
|
||||
files->clear();
|
||||
|
||||
TreeItem *root = files->create_item(NULL);
|
||||
TreeItem *root = files->create_item(nullptr);
|
||||
for (int i = 0; i < report.size(); i++) {
|
||||
|
||||
String dep;
|
||||
|
|
@ -674,7 +674,7 @@ bool OrphanResourcesDialog::_fill_owners(EditorFileSystemDirectory *efsd, HashMa
|
|||
|
||||
for (int i = 0; i < efsd->get_subdir_count(); i++) {
|
||||
|
||||
TreeItem *dir_item = NULL;
|
||||
TreeItem *dir_item = nullptr;
|
||||
if (p_parent) {
|
||||
dir_item = files->create_item(p_parent);
|
||||
dir_item->set_text(0, efsd->get_subdir(i)->get_name());
|
||||
|
|
@ -730,7 +730,7 @@ bool OrphanResourcesDialog::_fill_owners(EditorFileSystemDirectory *efsd, HashMa
|
|||
|
||||
void OrphanResourcesDialog::refresh() {
|
||||
HashMap<String, int> refs;
|
||||
_fill_owners(EditorFileSystem::get_singleton()->get_filesystem(), refs, NULL);
|
||||
_fill_owners(EditorFileSystem::get_singleton()->get_filesystem(), refs, nullptr);
|
||||
files->clear();
|
||||
TreeItem *root = files->create_item();
|
||||
_fill_owners(EditorFileSystem::get_singleton()->get_filesystem(), refs, root);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue