Rename String plus_file to path_join
This commit is contained in:
parent
051f24b067
commit
10a56981dc
100 changed files with 519 additions and 519 deletions
|
|
@ -62,7 +62,7 @@ void PluginConfigDialog::_on_confirmed() {
|
|||
if (script_name.get_extension().is_empty()) {
|
||||
script_name += "." + ext;
|
||||
}
|
||||
String script_path = path.plus_file(script_name);
|
||||
String script_path = path.path_join(script_name);
|
||||
|
||||
Ref<ConfigFile> cf = memnew(ConfigFile);
|
||||
cf->set_value("plugin", "name", name_edit->get_text());
|
||||
|
|
@ -71,7 +71,7 @@ void PluginConfigDialog::_on_confirmed() {
|
|||
cf->set_value("plugin", "version", version_edit->get_text());
|
||||
cf->set_value("plugin", "script", script_name);
|
||||
|
||||
cf->save(path.plus_file("plugin.cfg"));
|
||||
cf->save(path.path_join("plugin.cfg"));
|
||||
|
||||
if (!_edit_mode) {
|
||||
String class_name = script_name.get_basename();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue