summaryrefslogtreecommitdiff
path: root/platform/javascript/export/export_plugin.cpp
diff options
context:
space:
mode:
authorjmb462 <jmb462@gmail.com>2022-02-06 15:53:53 +0100
committerjmb462 <jmb462@gmail.com>2022-02-06 15:54:04 +0100
commit1ce81dc5f2bd5db8bff0e60af846b994492810f9 (patch)
tree7f7aaede5eea33b0da0f14f17d57d654988fa557 /platform/javascript/export/export_plugin.cpp
parentfd0d2dcabf5b7418691b693cd01baecbb69fdeb9 (diff)
Add missing SNAME macro optimization in some function calls
Diffstat (limited to 'platform/javascript/export/export_plugin.cpp')
-rw-r--r--platform/javascript/export/export_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/export/export_plugin.cpp b/platform/javascript/export/export_plugin.cpp
index db0d506cdf..92826630b4 100644
--- a/platform/javascript/export/export_plugin.cpp
+++ b/platform/javascript/export/export_plugin.cpp
@@ -658,7 +658,7 @@ EditorExportPlatformJavaScript::EditorExportPlatformJavaScript() {
Ref<Theme> theme = EditorNode::get_singleton()->get_editor_theme();
if (theme.is_valid()) {
- stop_icon = theme->get_icon("Stop", "EditorIcons");
+ stop_icon = theme->get_icon(SNAME("Stop"), SNAME("EditorIcons"));
} else {
stop_icon.instantiate();
}