diff options
-rw-r--r-- | Userland/Libraries/LibGUI/Command.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Userland/Libraries/LibGUI/Command.h b/Userland/Libraries/LibGUI/Command.h index 82626fd7cb..e7db7d7678 100644 --- a/Userland/Libraries/LibGUI/Command.h +++ b/Userland/Libraries/LibGUI/Command.h @@ -17,16 +17,11 @@ public: virtual void undo() { } virtual void redo() { } - String action_text() const { return m_action_text; } - + virtual String action_text() const { return {}; } virtual bool merge_with(Command const&) { return false; } protected: Command() { } - void set_action_text(const String& text) { m_action_text = text; } - -private: - String m_action_text; }; } |