1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:57:44 +00:00

Spreadsheet: Don't store help window's widgets in raw pointers

We can just use RefPtr for these and lighten the cognitive burden.
This commit is contained in:
Andreas Kling 2020-08-28 13:02:41 +02:00
parent 3c73b6d531
commit 60cf97726f
2 changed files with 6 additions and 7 deletions

View file

@ -55,8 +55,8 @@ private:
HelpWindow(GUI::Window* parent = nullptr);
JsonObject m_docs;
Web::OutOfProcessWebView* m_webview { nullptr };
GUI::ListView* m_listview { nullptr };
RefPtr<Web::OutOfProcessWebView> m_webview;
RefPtr<GUI::ListView> m_listview;
};
}