mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:47:45 +00:00
Browser: Convert search-engines file loading to Core::Stream :^)
Wrapped it in a method so we can take advantage of TRY(). I chose not to make failure here stop the Browser process, but just to cancel loading any more search engines.
This commit is contained in:
parent
0b997b9d35
commit
ad1f24ecb9
2 changed files with 87 additions and 68 deletions
|
@ -41,6 +41,7 @@ private:
|
|||
explicit BrowserWindow(CookieJar&, URL);
|
||||
|
||||
void build_menus();
|
||||
ErrorOr<void> load_search_engines(GUI::Menu& settings_menu);
|
||||
void set_window_title_for_tab(Tab const&);
|
||||
|
||||
RefPtr<GUI::Action> m_go_back_action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue