mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
AK: Improve smart pointer ergonomics a bit.
This commit is contained in:
parent
d5dec1922b
commit
3f6408919f
17 changed files with 49 additions and 31 deletions
|
@ -81,7 +81,7 @@ void VBForm::second_paint_event(GPaintEvent& event)
|
|||
|
||||
bool VBForm::is_selected(const VBWidget& widget) const
|
||||
{
|
||||
return &widget == m_selected_widget.ptr();
|
||||
return &widget == m_selected_widget;
|
||||
}
|
||||
|
||||
VBWidget* VBForm::widget_at(const Point& position)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue