LibGUI: Remove unused Widget::(set_)tooltip_deprecated()

This commit is contained in:
Karol Kosek 2023-09-10 23:00:56 +02:00 committed by Andreas Kling
parent 03a54a519a
commit 1f2ab4ebfc
Notes: sideshowbarker 2024-07-16 18:03:21 +09:00
2 changed files with 0 additions and 7 deletions

View File

@ -1107,11 +1107,6 @@ Gfx::IntRect Widget::relative_non_grabbable_rect() const
return rect;
}
void Widget::set_tooltip_deprecated(DeprecatedString tooltip)
{
set_tooltip(String::from_deprecated_string(move(tooltip)).release_value_but_fixme_should_propagate_errors());
}
void Widget::set_tooltip(String tooltip)
{
m_tooltip = move(tooltip);

View File

@ -163,8 +163,6 @@ public:
bool has_tooltip() const { return !m_tooltip.is_empty(); }
String tooltip() const { return m_tooltip; }
void set_tooltip(String tooltip);
DeprecatedString tooltip_deprecated() const { return tooltip().to_deprecated_string(); }
void set_tooltip_deprecated(DeprecatedString);
bool is_auto_focusable() const { return m_auto_focusable; }
void set_auto_focusable(bool auto_focusable) { m_auto_focusable = auto_focusable; }