mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 06:14:58 +00:00
LibGUI: Convert GWidget to ObjectPtr
This commit is contained in:
parent
e4e92980a1
commit
ff6ce422dd
41 changed files with 115 additions and 107 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue