mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
Userland: Use nondeprecated set_tooltip for static and formatted strings
This commit is contained in:
parent
46a97844c7
commit
ed3e729d4e
18 changed files with 45 additions and 45 deletions
|
@ -56,7 +56,7 @@ ConsoleWidget::ConsoleWidget(WebView::OutOfProcessWebView& content_view)
|
|||
auto& clear_button = bottom_container.add<GUI::Button>();
|
||||
clear_button.set_fixed_size(22, 22);
|
||||
clear_button.set_icon(g_icon_bag.delete_icon);
|
||||
clear_button.set_tooltip_deprecated("Clear the console output");
|
||||
clear_button.set_tooltip("Clear the console output"_string);
|
||||
clear_button.on_click = [this](auto) {
|
||||
m_console_client->clear();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue