1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

LibGUI: Convert remaining random little things to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 19:39:37 +02:00
parent 81a5c4fc56
commit 409494193e
11 changed files with 15 additions and 13 deletions

View file

@ -5,7 +5,6 @@
class GStackWidget : public GWidget {
C_OBJECT(GStackWidget)
public:
explicit GStackWidget(GWidget* parent);
virtual ~GStackWidget() override;
GWidget* active_widget() { return m_active_widget.ptr(); }
@ -15,6 +14,7 @@ public:
Function<void(GWidget*)> on_active_widget_change;
protected:
explicit GStackWidget(GWidget* parent);
virtual void child_event(CChildEvent&) override;
virtual void resize_event(GResizeEvent&) override;