diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-12-08 22:51:48 +0100 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2020-12-09 12:12:36 +0100 |
commit | 2c048ea16429cfa4e6b200a4fe519ee9db7c3f99 (patch) | |
tree | 5648e173188bd43a31624dda5e6e5cc02e31dbc4 /scene/gui/rich_text_label.cpp | |
parent | 90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2 (diff) | |
download | redot-engine-2c048ea16429cfa4e6b200a4fe519ee9db7c3f99.tar.gz |
Cleanup unused engine code
Diffstat (limited to 'scene/gui/rich_text_label.cpp')
-rw-r--r-- | scene/gui/rich_text_label.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 08214b958e..e3b645591c 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -1424,20 +1424,6 @@ bool RichTextLabel::_find_strikethrough(Item *p_item) { return false; } -bool RichTextLabel::_find_by_type(Item *p_item, ItemType p_type) { - ERR_FAIL_INDEX_V((int)p_type, 19, false); - - Item *item = p_item; - - while (item) { - if (item->type == p_type) { - return true; - } - item = item->parent; - } - return false; -} - void RichTextLabel::_fetch_item_fx_stack(Item *p_item, Vector<ItemFX *> &r_stack) { Item *item = p_item; while (item) { |