You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Add missing SNAME macro optimization in some function calls
This commit is contained in:
@@ -1423,7 +1423,7 @@ void ProjectList::create_project_item_control(int p_index) {
|
||||
|
||||
Button *show = memnew(Button);
|
||||
// Display a folder icon if the project directory can be opened, or a "broken file" icon if it can't.
|
||||
show->set_icon(get_theme_icon(!item.missing ? "Load" : "FileBroken", "EditorIcons"));
|
||||
show->set_icon(get_theme_icon(!item.missing ? SNAME("Load") : SNAME("FileBroken"), SNAME("EditorIcons")));
|
||||
show->set_flat(true);
|
||||
if (!item.grayed) {
|
||||
// Don't make the icon less prominent if the parent is already grayed out.
|
||||
|
||||
Reference in New Issue
Block a user