diff options
author | Andreas Kling <kling@serenityos.org> | 2021-04-18 00:17:04 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-18 10:58:22 +0200 |
commit | a2086ad56eb6dcc301e8c0e6f89f49c25dbc7c46 (patch) | |
tree | a81a37e118a8f61cf6c0ac35d110c9a758eac539 /Userland/Libraries/LibGUI/Action.h | |
parent | aa254ffd66995dbd69da19d68f4d978b934a4d16 (diff) | |
download | serenity-a2086ad56eb6dcc301e8c0e6f89f49c25dbc7c46.zip |
LibGUI: Rename Action::long_text to Action::status_tip
This feels a bit more descriptive.
Diffstat (limited to 'Userland/Libraries/LibGUI/Action.h')
-rw-r--r-- | Userland/Libraries/LibGUI/Action.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibGUI/Action.h b/Userland/Libraries/LibGUI/Action.h index b00d80c656..b49ef3c237 100644 --- a/Userland/Libraries/LibGUI/Action.h +++ b/Userland/Libraries/LibGUI/Action.h @@ -88,8 +88,8 @@ public: String text() const { return m_text; } void set_text(String text) { m_text = move(text); } - String const& long_text() const { return m_long_text; } - void set_long_text(String long_text) { m_long_text = move(long_text); } + String const& status_tip() const { return m_status_tip; } + void set_status_tip(String status_tip) { m_status_tip = move(status_tip); } Shortcut shortcut() const { return m_shortcut; } const Gfx::Bitmap* icon() const { return m_icon.ptr(); } @@ -138,7 +138,7 @@ private: void for_each_menu_item(Callback); String m_text; - String m_long_text; + String m_status_tip; RefPtr<Gfx::Bitmap> m_icon; Shortcut m_shortcut; bool m_enabled { true }; |