mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:07:35 +00:00
Userland: Port remaining calls to Widget::set_tooltip_deprecated()
Replaces `set_tooltip_deprecated(string);` with `set_tooltip(MUST(String::from_deprecated_string(string)));` purely to get rid of the deprecated function in the following commit.
This commit is contained in:
parent
ed3e729d4e
commit
03a54a519a
8 changed files with 13 additions and 13 deletions
|
@ -191,7 +191,7 @@ ErrorOr<void> QuickLaunchWidget::add_or_adjust_button(DeprecatedString const& bu
|
|||
button->set_button_style(Gfx::ButtonStyle::Coolbar);
|
||||
auto icon = entry->icon();
|
||||
button->set_icon(icon.bitmap_for_size(16));
|
||||
button->set_tooltip_deprecated(entry->name());
|
||||
button->set_tooltip(MUST(String::from_deprecated_string(entry->name())));
|
||||
button->set_name(button_name);
|
||||
button->on_click = [entry = move(entry), this](auto) {
|
||||
auto result = entry->launch();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue