mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-27 13:11:46 +03:00
LibGUI: Remove unused Widget::(set_)tooltip_deprecated()
This commit is contained in:
parent
03a54a519a
commit
1f2ab4ebfc
Notes:
sideshowbarker
2024-07-16 18:03:21 +09:00
Author: https://github.com/krkk Commit: https://github.com/SerenityOS/serenity/commit/1f2ab4ebfc Pull-request: https://github.com/SerenityOS/serenity/pull/21020 Reviewed-by: https://github.com/AtkinsSJ
@ -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);
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user