mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
AK: Improve smart pointer ergonomics a bit.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user