summaryrefslogtreecommitdiff
path: root/tests/scene/test_gui.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-08 11:13:24 +0100
committerGitHub <noreply@github.com>2022-02-08 11:13:24 +0100
commita66e55069e6794ff5bf7d7a39e797e5be2a7df4a (patch)
tree16a459437dea42fc78a7a0993c5bf437bea74d0b /tests/scene/test_gui.cpp
parentdc17cce995a5958fe608221aa089ff912853a744 (diff)
parent6eeeb9a63ce6f9dc6134429ed9c6cf92b1a8f2ed (diff)
Merge pull request #57796 from akien-mga/revert-sname-theme-setters
Diffstat (limited to 'tests/scene/test_gui.cpp')
-rw-r--r--tests/scene/test_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scene/test_gui.cpp b/tests/scene/test_gui.cpp
index 9da6063c7b..cd5624b70c 100644
--- a/tests/scene/test_gui.cpp
+++ b/tests/scene/test_gui.cpp
@@ -103,7 +103,7 @@ public:
item->set_editable(0, true);
item->set_range_config(0, 0, 20, 0.1);
item->set_range(0, 2);
- item->add_button(0, Theme::get_default()->get_icon(SNAME("folder"), SNAME("FileDialog")));
+ item->add_button(0, Theme::get_default()->get_icon("folder", "FileDialog"));
item->set_cell_mode(1, TreeItem::CELL_MODE_RANGE);
item->set_editable(1, true);
item->set_range_config(1, 0, 20, 0.1);