mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +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
|
@ -49,7 +49,7 @@ private:
|
|||
if (action.group() && action.group()->is_exclusive())
|
||||
set_exclusive(true);
|
||||
set_action(action);
|
||||
set_tooltip(tooltip(action));
|
||||
set_tooltip_deprecated(tooltip(action));
|
||||
set_focus_policy(FocusPolicy::NoFocus);
|
||||
if (action.icon())
|
||||
set_icon(action.icon());
|
||||
|
@ -63,7 +63,7 @@ private:
|
|||
auto const* action = this->action();
|
||||
VERIFY(action);
|
||||
|
||||
set_tooltip(tooltip(*action));
|
||||
set_tooltip_deprecated(tooltip(*action));
|
||||
if (!action->icon())
|
||||
Button::set_text(move(text));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue