diff --git a/Userland/Libraries/LibGUI/Widget.cpp b/Userland/Libraries/LibGUI/Widget.cpp index 77bbf501578..60a144bd4e1 100644 --- a/Userland/Libraries/LibGUI/Widget.cpp +++ b/Userland/Libraries/LibGUI/Widget.cpp @@ -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); diff --git a/Userland/Libraries/LibGUI/Widget.h b/Userland/Libraries/LibGUI/Widget.h index 0b0b5ece2db..879dbb7b5d9 100644 --- a/Userland/Libraries/LibGUI/Widget.h +++ b/Userland/Libraries/LibGUI/Widget.h @@ -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; }