Userland+LibCore: Remove legacy SERENITY_VERSION from Core::Version

This was being used as a default version argument in a couple of APIs,
so those need to change signature and the caller always needs to provide
a version.
This commit is contained in:
kleines Filmröllchen 2022-08-30 12:49:08 +02:00 committed by Linus Groh
commit cb0b82ec46
Notes: sideshowbarker 2024-07-17 05:49:06 +09:00
7 changed files with 10 additions and 10 deletions

View file

@ -21,6 +21,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil(nullptr, nullptr));
auto app_icon = TRY(GUI::Icon::try_create_default_icon("ladyball"sv));
GUI::AboutDialog::show("SerenityOS"sv, app_icon.bitmap_for_size(32), nullptr, app_icon.bitmap_for_size(16), Core::Version::read_long_version_string());
GUI::AboutDialog::show("SerenityOS"sv, Core::Version::read_long_version_string(), app_icon.bitmap_for_size(32), nullptr, app_icon.bitmap_for_size(16));
return app->exec();
}