1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 18:55:09 +00:00

Browser: Remove no-op from the BooksmarksBarWidget

Widget::child_widgets() is a *copy* of the list of child widgets. :^)
This commit is contained in:
Andreas Kling 2020-04-23 14:10:12 +02:00
parent 7da7bbe6f9
commit 9ab9f97464

View file

@ -92,7 +92,6 @@ void BookmarksBarWidget::did_update_model()
for (auto* child : child_widgets()) {
child->remove_from_parent();
}
child_widgets().clear();
m_bookmarks.clear();