diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 17:05:35 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-21 17:05:35 +0200 |
commit | ff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea (patch) | |
tree | 8a66cc12d14da634984978aa387a92537d161915 /Libraries/LibGUI/GWindow.cpp | |
parent | e4e92980a17449abb315e2267c897529f700525e (diff) | |
download | serenity-ff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea.zip |
LibGUI: Convert GWidget to ObjectPtr
Diffstat (limited to 'Libraries/LibGUI/GWindow.cpp')
-rw-r--r-- | Libraries/LibGUI/GWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GWindow.cpp b/Libraries/LibGUI/GWindow.cpp index ce29cd52e4..1c340ae42c 100644 --- a/Libraries/LibGUI/GWindow.cpp +++ b/Libraries/LibGUI/GWindow.cpp @@ -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; } |