summaryrefslogtreecommitdiff
path: root/Userland/Applications/About
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2022-08-30 12:49:08 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-14 13:45:33 +0200
commitcb0b82ec464f28fae134403fc268961c02f27e1c (patch)
tree9d02c98e6cb6a3764eccced70e271bacb88fe61d /Userland/Applications/About
parent38bb189772d90e39ed7d85a0cf89dbc3a532c34e (diff)
downloadserenity-cb0b82ec464f28fae134403fc268961c02f27e1c.zip
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.
Diffstat (limited to 'Userland/Applications/About')
-rw-r--r--Userland/Applications/About/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/About/main.cpp b/Userland/Applications/About/main.cpp
index 0cc6a5949c..b0d13322fd 100644
--- a/Userland/Applications/About/main.cpp
+++ b/Userland/Applications/About/main.cpp
@@ -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();
}