mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
AK: Make "foo"_string infallible
Stop worrying about tiny OOMs. Work towards #20405.
This commit is contained in:
parent
db2a8725c6
commit
34344120f2
181 changed files with 626 additions and 630 deletions
|
@ -171,7 +171,7 @@ ErrorOr<void> Toolbar::create_overflow_objects()
|
|||
m_overflow_action = Action::create("Overflow Menu", { Mod_Ctrl | Mod_Shift, Key_O }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/overflow-menu.png"sv)), [&](auto&) {
|
||||
m_overflow_menu->popup(m_overflow_button->screen_relative_rect().bottom_left().moved_up(1), {}, m_overflow_button->rect());
|
||||
});
|
||||
m_overflow_action->set_status_tip(TRY("Show hidden toolbar actions"_string));
|
||||
m_overflow_action->set_status_tip("Show hidden toolbar actions"_string);
|
||||
m_overflow_action->set_enabled(false);
|
||||
|
||||
TRY(add_spacer());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue