mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
Userland: Port GUI::Application::show_tooltip() to String
This most importantly gets rid of a chain of "String to DeprecatedString to String" transformations when setting a tooltip from GUI::Widget's set_tooltip function.
This commit is contained in:
parent
16defb4806
commit
a3ddba4191
7 changed files with 12 additions and 12 deletions
|
@ -41,8 +41,8 @@ public:
|
|||
void register_global_shortcut_action(Badge<Action>, Action&);
|
||||
void unregister_global_shortcut_action(Badge<Action>, Action&);
|
||||
|
||||
void show_tooltip(DeprecatedString, Widget const* tooltip_source_widget);
|
||||
void show_tooltip_immediately(DeprecatedString, Widget const* tooltip_source_widget);
|
||||
void show_tooltip(String, Widget const* tooltip_source_widget);
|
||||
void show_tooltip_immediately(String, Widget const* tooltip_source_widget);
|
||||
void hide_tooltip();
|
||||
Widget const* tooltip_source_widget() { return m_tooltip_source_widget; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue