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
parent 4b169cf25f
commit 5234a30731
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);
}