mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:47:37 +00:00
PixelPaint: Make tool properties widget construction non-fallible
`Tool::get_properties_widget()` now also returns a NNRP to a widget rather than a raw pointer.
This commit is contained in:
parent
5df88dab07
commit
f34b1c7a7e
41 changed files with 72 additions and 85 deletions
|
@ -31,7 +31,6 @@ private:
|
|||
|
||||
Tool* m_active_tool { nullptr };
|
||||
RefPtr<GUI::StackWidget> m_tool_widget_stack;
|
||||
RefPtr<GUI::Widget> m_blank_widget;
|
||||
RefPtr<GUI::Label> m_error_label;
|
||||
GUI::Widget* m_active_tool_widget { nullptr };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue