diff options
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; } |