mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
Userland: Port to automatic GML initializer where possible
This commit is contained in:
parent
dec066fa5c
commit
adc845e0cb
41 changed files with 148 additions and 245 deletions
|
@ -9,14 +9,7 @@
|
|||
|
||||
namespace Maps {
|
||||
|
||||
ErrorOr<NonnullRefPtr<SearchPanel>> SearchPanel::create()
|
||||
{
|
||||
auto widget = TRY(try_create());
|
||||
TRY(widget->setup());
|
||||
return widget;
|
||||
}
|
||||
|
||||
ErrorOr<void> SearchPanel::setup()
|
||||
ErrorOr<void> SearchPanel::initialize()
|
||||
{
|
||||
m_request_client = TRY(Protocol::RequestClient::try_create());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue