LibGUI+Userland: Port Action status tips to String

This commit is contained in:
Karol Kosek 2023-06-04 11:22:04 +02:00 committed by Sam Atkins
commit 5234a30731
Notes: sideshowbarker 2024-07-17 01:28:15 +09:00
16 changed files with 86 additions and 85 deletions

View file

@ -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);
}