diff --git a/Userland/Applications/GamesSettings/ChessSettingsWidget.cpp b/Userland/Applications/GamesSettings/ChessSettingsWidget.cpp index b0c200a8e7..fc84d71480 100644 --- a/Userland/Applications/GamesSettings/ChessSettingsWidget.cpp +++ b/Userland/Applications/GamesSettings/ChessSettingsWidget.cpp @@ -97,7 +97,7 @@ public: if (m_piece_set_name == piece_set_name.view()) return {}; - m_piece_set_name = TRY(String::from_utf8(piece_set_name)); + m_piece_set_name = TRY(String::from_deprecated_string(piece_set_name)); m_piece_images.clear(); m_piece_images.set({ Chess::Color::White, Chess::Type::Pawn }, TRY(load_piece_image(m_piece_set_name, "white-pawn.png"sv))); diff --git a/Userland/Applications/Help/MainWidget.cpp b/Userland/Applications/Help/MainWidget.cpp index a1a9ab271c..3b7abae4ac 100644 --- a/Userland/Applications/Help/MainWidget.cpp +++ b/Userland/Applications/Help/MainWidget.cpp @@ -110,7 +110,7 @@ MainWidget::MainWidget() return; } m_history.push(path.string()); - auto string_path = String::from_utf8(path.string()); + auto string_path = String::from_deprecated_string(path.string()); if (string_path.is_error()) return; open_page(string_path.value()); diff --git a/Userland/Applications/HexEditor/FindDialog.cpp b/Userland/Applications/HexEditor/FindDialog.cpp index fb3098010c..d3743d15ad 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(); radio.set_enabled(action.enabled); - radio.set_text(String::from_deprecated_string(action.title).release_value_but_fixme_should_propagate_errors()); + radio.set_text(String::from_utf8(action.title).release_value_but_fixme_should_propagate_errors()); radio.on_checked = [this, i](auto) { m_selected_option = options[i].opt;