summaryrefslogtreecommitdiff
path: root/editor/editor_file_dialog.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-23 13:14:20 +0200
committerGitHub <noreply@github.com>2021-09-23 13:14:20 +0200
commit88b347dc2787aac2d52254787cc3a91e5807c4dd (patch)
tree36340713a8915b3ac4df208203f7ea7c9b64b22f /editor/editor_file_dialog.cpp
parent011866edcd917320f4e9e0afaa548024580c4bf7 (diff)
parent54de7114c5bdaa2ee64ad6fd2e2cc40063016eb9 (diff)
Merge pull request #51920 from jmb462/missing-sname-macro-optimization-in-some-functions
Diffstat (limited to 'editor/editor_file_dialog.cpp')
-rw-r--r--editor/editor_file_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_file_dialog.cpp b/editor/editor_file_dialog.cpp
index bf95e6cf62..8956983646 100644
--- a/editor/editor_file_dialog.cpp
+++ b/editor/editor_file_dialog.cpp
@@ -86,7 +86,7 @@ void EditorFileDialog::_notification(int p_what) {
if (preview_wheel_index >= 8) {
preview_wheel_index = 0;
}
- Ref<Texture2D> frame = item_list->get_theme_icon("Progress" + itos(preview_wheel_index + 1), "EditorIcons");
+ Ref<Texture2D> frame = item_list->get_theme_icon("Progress" + itos(preview_wheel_index + 1), SNAME("EditorIcons"));
preview->set_texture(frame);
preview_wheel_timeout = 0.1;
}