From 4d302e0e88bd1801e581debcf2fa87ce322e5f3b Mon Sep 17 00:00:00 2001 From: Mustafa Quraish Date: Mon, 22 Nov 2021 19:11:16 -0500 Subject: Everywhere: Use Application::construct() with Main::Arguments directly Use the updated API everywhere we are currently manually passing in `arguments.argc` and `arguments.argv`. --- Userland/Applets/ResourceGraph/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Applets/ResourceGraph') diff --git a/Userland/Applets/ResourceGraph/main.cpp b/Userland/Applets/ResourceGraph/main.cpp index 48008c1328..402ca85f1f 100644 --- a/Userland/Applets/ResourceGraph/main.cpp +++ b/Userland/Applets/ResourceGraph/main.cpp @@ -187,7 +187,7 @@ ErrorOr serenity_main(Main::Arguments arguments) { TRY(System::pledge("stdio recvfd sendfd proc exec rpath unix", nullptr)); - auto app = GUI::Application::construct(arguments.argc, arguments.argv); + auto app = GUI::Application::construct(arguments); TRY(System::pledge("stdio recvfd sendfd proc exec rpath", nullptr)); -- cgit v1.2.3