diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-02-06 17:03:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 17:03:11 +0100 |
commit | 79a4d782a5ef0801fb65ee8c8a488942044c8e10 (patch) | |
tree | 28da6865bd5f3e92dc0852ff60cafc74329857b7 /platform/javascript/export/export_plugin.h | |
parent | e38df41de8f20516ab8b2c91bedb4388cd9e41aa (diff) | |
parent | 1ce81dc5f2bd5db8bff0e60af846b994492810f9 (diff) | |
download | redot-engine-79a4d782a5ef0801fb65ee8c8a488942044c8e10.tar.gz |
Merge pull request #57709 from jmb462/missing-sname-optimization
Diffstat (limited to 'platform/javascript/export/export_plugin.h')
-rw-r--r-- | platform/javascript/export/export_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/export/export_plugin.h b/platform/javascript/export/export_plugin.h index c55a881911..278e317430 100644 --- a/platform/javascript/export/export_plugin.h +++ b/platform/javascript/export/export_plugin.h @@ -87,7 +87,7 @@ class EditorExportPlatformJavaScript : public EditorExportPlatform { icon.instantiate(); const String icon_path = String(GLOBAL_GET("application/config/icon")).strip_edges(); if (icon_path.is_empty() || ImageLoader::load_image(icon_path, icon) != OK) { - return EditorNode::get_singleton()->get_editor_theme()->get_icon("DefaultProjectIcon", "EditorIcons")->get_image(); + return EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("DefaultProjectIcon"), SNAME("EditorIcons"))->get_image(); } return icon; } |