1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:27:43 +00:00

LibGUI: Stop lying about string types

This commit is contained in:
Hendiadyoin1 2023-06-11 19:44:53 +02:00 committed by Jelle Raaijmakers
parent a45682dcdc
commit e4f627f299
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ NonnullRefPtr<Action> make_about_action(DeprecatedString const& app_name, Icon c
auto weak_parent = AK::make_weak_ptr_if_nonnull<Window>(parent);
auto action = Action::create(DeprecatedString::formatted("&About {}", app_name), app_icon.bitmap_for_size(16), [=](auto&) {
AboutDialog::show(
String::from_utf8(app_name).release_value_but_fixme_should_propagate_errors(),
String::from_deprecated_string(app_name).release_value_but_fixme_should_propagate_errors(),
Core::Version::read_long_version_string().release_value_but_fixme_should_propagate_errors(),
app_icon.bitmap_for_size(32),
weak_parent)