summaryrefslogtreecommitdiff
path: root/editor/editor_export.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 /editor/editor_export.cpp
parentfd0d2dcabf5b7418691b693cd01baecbb69fdeb9 (diff)
Add missing SNAME macro optimization in some function calls
Diffstat (limited to 'editor/editor_export.cpp')
-rw-r--r--editor/editor_export.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index 9bdfb66235..632d67c061 100644
--- a/editor/editor_export.cpp
+++ b/editor/editor_export.cpp
@@ -404,9 +404,9 @@ Ref<ImageTexture> EditorExportPlatform::get_option_icon(int p_index) const {
Ref<Theme> theme = EditorNode::get_singleton()->get_editor_theme();
ERR_FAIL_COND_V(theme.is_null(), Ref<ImageTexture>());
if (EditorNode::get_singleton()->get_main_control()->is_layout_rtl()) {
- return theme->get_icon("PlayBackwards", "EditorIcons");
+ return theme->get_icon(SNAME("PlayBackwards"), SNAME("EditorIcons"));
} else {
- return theme->get_icon("Play", "EditorIcons");
+ return theme->get_icon(SNAME("Play"), SNAME("EditorIcons"));
}
}