mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:57:36 +00:00
Userland: Always construct Application with try_create()
This commit is contained in:
parent
cd7037afd5
commit
73552c1856
22 changed files with 22 additions and 22 deletions
|
@ -302,7 +302,7 @@ static String get_absolute_path_to_selected_node(SpaceAnalyzer::TreeMapWidget co
|
|||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
auto app = GUI::Application::construct(arguments);
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
|
||||
RefPtr<Tree> tree = adopt_ref(*new Tree(""));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue