mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibGUI: Add deprecated suffix to {set_,}tooltip in Widget
This commit is contained in:
parent
9b1e33af69
commit
d978dd4af8
Notes:
sideshowbarker
2024-07-18 03:35:30 +09:00
Author: https://github.com/camc 🔰
Commit: d978dd4af8
Pull-request: https://github.com/SerenityOS/serenity/pull/20312
Reviewed-by: https://github.com/AtkinsSJ ✅
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