diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-09-17 12:53:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-17 12:53:48 +0200 |
commit | c74bab66aaaef355ef8ac8d7e1a249509fad544e (patch) | |
tree | acb761bb28562f1f40e0e5736a9c79e91b4b7fb1 /editor/editor_dir_dialog.cpp | |
parent | a1b4e4c607acb09c13bdf1b9609f2d45c4b01e15 (diff) | |
parent | 072e379ffe7f0d8adc2ac0eb700abfd7c27d8278 (diff) |
Merge pull request #11274 from Rubonnek/keep-argument-names-consistent
Renamed function arguments to keep them consistent between declaration and implementation
Diffstat (limited to 'editor/editor_dir_dialog.cpp')
-rw-r--r-- | editor/editor_dir_dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_dir_dialog.cpp b/editor/editor_dir_dialog.cpp index cfb3abfd1d..658c12d4d0 100644 --- a/editor/editor_dir_dialog.cpp +++ b/editor/editor_dir_dialog.cpp @@ -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; } |