diff --git a/Libraries/LibGUI/AbstractButton.h b/Libraries/LibGUI/AbstractButton.h index d84ddd4128..cf869aab94 100644 --- a/Libraries/LibGUI/AbstractButton.h +++ b/Libraries/LibGUI/AbstractButton.h @@ -73,8 +73,6 @@ protected: void paint_text(Painter&, const Gfx::IntRect&, const Gfx::Font&, Gfx::TextAlignment); private: - virtual bool is_abstract_button() const final { return true; } - String m_text; bool m_checked { false }; bool m_checkable { false }; diff --git a/Libraries/LibGUI/RadioButton.h b/Libraries/LibGUI/RadioButton.h index 0105953eb2..deca8c3a0f 100644 --- a/Libraries/LibGUI/RadioButton.h +++ b/Libraries/LibGUI/RadioButton.h @@ -47,8 +47,6 @@ private: using AbstractButton::auto_repeat_interval; using AbstractButton::set_auto_repeat_interval; - virtual bool is_radio_button() const final { return true; } - static Gfx::IntSize circle_size(); }; diff --git a/Libraries/LibGUI/Widget.h b/Libraries/LibGUI/Widget.h index b54654f72d..b130d9a428 100644 --- a/Libraries/LibGUI/Widget.h +++ b/Libraries/LibGUI/Widget.h @@ -282,9 +282,6 @@ public: Vector child_widgets() const; - virtual bool is_radio_button() const { return false; } - virtual bool is_abstract_button() const { return false; } - void do_layout(); Gfx::Palette palette() const;