summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GWindow.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-21 17:05:35 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-21 17:05:35 +0200
commitff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea (patch)
tree8a66cc12d14da634984978aa387a92537d161915 /Libraries/LibGUI/GWindow.cpp
parente4e92980a17449abb315e2267c897529f700525e (diff)
downloadserenity-ff6ce422ddecb7dcb7fd9f67d3ea0cfdec7e74ea.zip
LibGUI: Convert GWidget to ObjectPtr
Diffstat (limited to 'Libraries/LibGUI/GWindow.cpp')
-rw-r--r--Libraries/LibGUI/GWindow.cpp2
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;
}