mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 10:06:03 +00:00
Userland: Construct Menus with name using the non-deprecated String
This commit is contained in:
parent
c4c1df7621
commit
956f4d9205
Notes:
sideshowbarker
2024-07-17 18:38:54 +09:00
Author: https://github.com/krkk
Commit: 956f4d9205
Pull-request: https://github.com/SerenityOS/serenity/pull/18397
9 changed files with 15 additions and 21 deletions
|
@ -261,7 +261,7 @@ void BookmarksBarWidget::update_content_size()
|
|||
} else {
|
||||
// hide all items > m_last_visible_index and create new bookmarks menu for them
|
||||
m_additional->set_visible(true);
|
||||
m_additional_menu = GUI::Menu::construct("Additional Bookmarks");
|
||||
m_additional_menu = GUI::Menu::construct("Additional Bookmarks"_string.release_value_but_fixme_should_propagate_errors());
|
||||
m_additional->set_menu(m_additional_menu);
|
||||
for (size_t i = m_last_visible_index; i < m_bookmarks.size(); ++i) {
|
||||
auto& bookmark = m_bookmarks.at(i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue