mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +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
|
@ -66,7 +66,7 @@ ErrorOr<void> KeymapStatusWidget::refresh_menu()
|
|||
void KeymapStatusWidget::set_current_keymap(DeprecatedString const& keymap)
|
||||
{
|
||||
m_current_keymap = keymap;
|
||||
set_tooltip_deprecated(keymap);
|
||||
set_tooltip(MUST(String::from_deprecated_string(keymap)));
|
||||
update();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue