diff options
Diffstat (limited to 'Libraries/LibGUI/GStatusBar.h')
-rw-r--r-- | Libraries/LibGUI/GStatusBar.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Libraries/LibGUI/GStatusBar.h b/Libraries/LibGUI/GStatusBar.h index ad1deebb61..36f83b8609 100644 --- a/Libraries/LibGUI/GStatusBar.h +++ b/Libraries/LibGUI/GStatusBar.h @@ -6,6 +6,7 @@ class GLabel; class GResizeCorner; class GStatusBar : public GWidget { + C_OBJECT(GStatusBar) public: explicit GStatusBar(GWidget* parent); virtual ~GStatusBar() override; @@ -13,8 +14,6 @@ public: String text() const; void set_text(const StringView&); - virtual const char* class_name() const override { return "GStatusBar"; } - private: virtual void paint_event(GPaintEvent&) override; |