mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:57:44 +00:00
LibGUI: Make GUI::Widget::set_tooltip() take a String
There was no reason for this to take a StringView.
This commit is contained in:
parent
4454735bf8
commit
d33fdc925b
2 changed files with 3 additions and 3 deletions
|
@ -140,7 +140,7 @@ public:
|
|||
|
||||
bool has_tooltip() const { return !m_tooltip.is_empty(); }
|
||||
String tooltip() const { return m_tooltip; }
|
||||
void set_tooltip(const StringView&);
|
||||
void set_tooltip(String);
|
||||
|
||||
bool is_enabled() const { return m_enabled; }
|
||||
void set_enabled(bool);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue