mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibGUI: Add deprecated suffix to {set_,}tooltip in Widget
This commit is contained in:
parent
9b1e33af69
commit
d978dd4af8
32 changed files with 56 additions and 56 deletions
|
@ -308,7 +308,7 @@ void Action::set_tooltip(DeprecatedString tooltip)
|
|||
return;
|
||||
m_tooltip = move(tooltip);
|
||||
for_each_toolbar_button([&](auto& button) {
|
||||
button.set_tooltip(*m_tooltip);
|
||||
button.set_tooltip_deprecated(*m_tooltip);
|
||||
});
|
||||
for_each_menu_item([&](auto& menu_item) {
|
||||
menu_item.update_from_action({});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue