LibGUI: Convert GWidget to ObjectPtr

This commit is contained in:
Andreas Kling 2019-09-21 17:05:35 +02:00
parent e4e92980a1
commit ff6ce422dd
Notes: sideshowbarker 2024-07-19 12:01:44 +09:00
41 changed files with 115 additions and 107 deletions

View file

@ -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;
}