summaryrefslogtreecommitdiff
path: root/scene/gui/item_list.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-19 19:32:51 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-19 19:32:51 +0100
commit4ca6a9809d54aafcb9887cec037ee1f3947fdf02 (patch)
tree52f3e5e5814217b1adbd7a2a369bf5d799482e86 /scene/gui/item_list.cpp
parent8b923163686d3141addaab3931d8875beb4f91d8 (diff)
parentc0083e431bb7bf66987f396cf9a62fa372d92fe9 (diff)
Merge pull request #44596 from KoBeWi/🧹🧹🧹
Cleanup unused engine code v2
Diffstat (limited to 'scene/gui/item_list.cpp')
-rw-r--r--scene/gui/item_list.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp
index 372baeadae..25a27d5e1a 100644
--- a/scene/gui/item_list.cpp
+++ b/scene/gui/item_list.cpp
@@ -309,12 +309,6 @@ void ItemList::set_item_tag_icon(int p_idx, const Ref<Texture2D> &p_tag_icon) {
shape_changed = true;
}
-Ref<Texture2D> ItemList::get_item_tag_icon(int p_idx) const {
- ERR_FAIL_INDEX_V(p_idx, items.size(), Ref<Texture2D>());
-
- return items[p_idx].tag_icon;
-}
-
void ItemList::set_item_selectable(int p_idx, bool p_selectable) {
if (p_idx < 0) {
p_idx += get_item_count();