mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 01:08:48 +00:00
LibGUI: Convert GWidget to ObjectPtr
This commit is contained in:
parent
e4e92980a1
commit
ff6ce422dd
Notes:
sideshowbarker
2024-07-19 12:01:44 +09:00
Author: https://github.com/awesomekling
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