mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Everywhere: Use Application::construct() with Main::Arguments directly
Use the updated API everywhere we are currently manually passing in `arguments.argc` and `arguments.argv`.
This commit is contained in:
parent
2fbcab46bf
commit
4d302e0e88
Notes:
sideshowbarker
2024-07-18 00:50:08 +09:00
Author: https://github.com/mustafaquraish
Commit: 4d302e0e88
Pull-request: https://github.com/SerenityOS/serenity/pull/11027
14 changed files with 14 additions and 14 deletions
|
@ -18,7 +18,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
{
|
||||
TRY(System::pledge("stdio recvfd sendfd rpath unix", nullptr));
|
||||
|
||||
auto app = GUI::Application::construct(arguments.argc, arguments.argv);
|
||||
auto app = GUI::Application::construct(arguments);
|
||||
|
||||
TRY(System::pledge("stdio recvfd sendfd rpath", nullptr));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue