Add missing SNAME macro optimization in some function calls

This commit is contained in:
jmb462 2022-02-06 15:53:53 +01:00
parent fd0d2dcabf
commit 1ce81dc5f2
27 changed files with 217 additions and 217 deletions

View file

@ -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();
}