mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibGUI+Userland: Port Action status tips to String
This commit is contained in:
parent
4b169cf25f
commit
5234a30731
Notes:
sideshowbarker
2024-07-17 01:28:15 +09:00
Author: https://github.com/krkk
Commit: 5234a30731
Pull-request: https://github.com/SerenityOS/serenity/pull/19257
Reviewed-by: https://github.com/AtkinsSJ ✅
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