mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
LibGUI+Userland: Port Action status tips to String
This commit is contained in:
parent
4b169cf25f
commit
5234a30731
16 changed files with 86 additions and 85 deletions
|
@ -318,7 +318,7 @@ void Action::set_tooltip(DeprecatedString tooltip)
|
|||
DeprecatedString Action::status_tip() const
|
||||
{
|
||||
if (!m_status_tip.is_empty())
|
||||
return m_status_tip;
|
||||
return m_status_tip.to_deprecated_string();
|
||||
|
||||
return Gfx::parse_ampersand_string(m_text);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue