summaryrefslogtreecommitdiff
path: root/Applications/Browser
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-23 14:10:12 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-23 14:10:32 +0200
commit9ab9f97464bb7cac1f40b5e033f69850210d248b (patch)
treeabf3cf94fbb1e2c709b467305d7267fd172eb424 /Applications/Browser
parent7da7bbe6f9a9eb559d0f0a88e79d348e7237cea0 (diff)
downloadserenity-9ab9f97464bb7cac1f40b5e033f69850210d248b.zip
Browser: Remove no-op from the BooksmarksBarWidget
Widget::child_widgets() is a *copy* of the list of child widgets. :^)
Diffstat (limited to 'Applications/Browser')
-rw-r--r--Applications/Browser/BookmarksBarWidget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Applications/Browser/BookmarksBarWidget.cpp b/Applications/Browser/BookmarksBarWidget.cpp
index c3b520bad1..6e97b95c26 100644
--- a/Applications/Browser/BookmarksBarWidget.cpp
+++ b/Applications/Browser/BookmarksBarWidget.cpp
@@ -92,7 +92,6 @@ void BookmarksBarWidget::did_update_model()
for (auto* child : child_widgets()) {
child->remove_from_parent();
}
- child_widgets().clear();
m_bookmarks.clear();