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:
parent
3c73b6d531
commit
60cf97726f
2 changed files with 6 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue