From a988fad9a092053434545c32afae91ccbdfbe792 Mon Sep 17 00:00:00 2001 From: jmb462 Date: Sun, 6 Feb 2022 20:17:35 +0100 Subject: Add missing SNAME macro optimization to all theme methods call --- editor/filesystem_dock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor/filesystem_dock.cpp') diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index a038da4c18..324aed5d02 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -2834,7 +2834,7 @@ FileSystemDock::FileSystemDock(EditorNode *p_editor) { add_child(top_vbc); HBoxContainer *toolbar_hbc = memnew(HBoxContainer); - toolbar_hbc->add_theme_constant_override("separation", 0); + toolbar_hbc->add_theme_constant_override(SNAME("separation"), 0); top_vbc->add_child(toolbar_hbc); button_hist_prev = memnew(Button); @@ -2873,7 +2873,7 @@ FileSystemDock::FileSystemDock(EditorNode *p_editor) { toolbar_hbc->add_child(button_toggle_display_mode); toolbar2_hbc = memnew(HBoxContainer); - toolbar2_hbc->add_theme_constant_override("separation", 0); + toolbar2_hbc->add_theme_constant_override(SNAME("separation"), 0); top_vbc->add_child(toolbar2_hbc); tree_search_box = memnew(LineEdit); -- cgit v1.2.3