diff options
author | Karol Kosek <krkk@serenityos.org> | 2023-02-11 20:51:04 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-02-13 00:45:09 +0000 |
commit | e39adc4772dbc575fc8209130129270ceea24229 (patch) | |
tree | b86180f19b56c66008246cbeea1d198847572f55 /Userland/Applications/HexEditor | |
parent | b5cb9a9ebb0c1203b9f47479b7fc15f9af8e421e (diff) | |
download | serenity-e39adc4772dbc575fc8209130129270ceea24229.zip |
Userland: Set Button text using the new String class
Diffstat (limited to 'Userland/Applications/HexEditor')
-rw-r--r-- | Userland/Applications/HexEditor/FindDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/HexEditor/FindDialog.cpp b/Userland/Applications/HexEditor/FindDialog.cpp index 739a31dbe2..fb3098010c 100644 --- a/Userland/Applications/HexEditor/FindDialog.cpp +++ b/Userland/Applications/HexEditor/FindDialog.cpp @@ -112,7 +112,7 @@ FindDialog::FindDialog() auto action = options[i]; auto& radio = radio_container.add<GUI::RadioButton>(); radio.set_enabled(action.enabled); - radio.set_text_deprecated(action.title); + radio.set_text(String::from_deprecated_string(action.title).release_value_but_fixme_should_propagate_errors()); radio.on_checked = [this, i](auto) { m_selected_option = options[i].opt; |