mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
LibGUI: Convert GWidget to ObjectPtr
This commit is contained in:
@@ -698,7 +698,7 @@ Vector<GWidget*> GWindow::focusable_widgets() const
|
||||
});
|
||||
};
|
||||
|
||||
collect_focusable_widgets(*m_main_widget);
|
||||
collect_focusable_widgets(const_cast<GWidget&>(*m_main_widget));
|
||||
return collected_widgets;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user