Renamed function arguments to keep them consistent between declaration and implementation

This commit is contained in:
Wilson E. Alvarez 2017-09-14 13:49:11 -04:00
parent 8c08f2380d
commit 072e379ffe
16 changed files with 27 additions and 27 deletions

View file

@ -64,7 +64,7 @@ void EditorDirDialog::_update_dir(TreeItem *p_item, EditorFileSystemDirectory *p
}
}
void EditorDirDialog::reload(const String &p_with_path) {
void EditorDirDialog::reload(const String &p_path) {
if (!is_visible_in_tree()) {
must_reload = true;
@ -73,7 +73,7 @@ void EditorDirDialog::reload(const String &p_with_path) {
tree->clear();
TreeItem *root = tree->create_item();
_update_dir(root, EditorFileSystem::get_singleton()->get_filesystem(), p_with_path);
_update_dir(root, EditorFileSystem::get_singleton()->get_filesystem(), p_path);
_item_collapsed(root);
must_reload = false;
}