diff options
author | Linus Groh <mail@linusgroh.de> | 2022-12-06 01:12:49 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-06 08:54:33 +0100 |
commit | 57dc179b1fce5d4b7171311b04667debfe693095 (patch) | |
tree | a459d1aef92dc4e49bbf03b32621b1e7e30d4e64 /Userland/Libraries/LibVT | |
parent | 6e19ab2bbce0b113b628e6f8e9b5c0640053933e (diff) | |
download | serenity-57dc179b1fce5d4b7171311b04667debfe693095.zip |
Everywhere: Rename to_{string => deprecated_string}() where applicable
This will make it easier to support both string types at the same time
while we convert code, and tracking down remaining uses.
One big exception is Value::to_string() in LibJS, where the name is
dictated by the ToString AO.
Diffstat (limited to 'Userland/Libraries/LibVT')
-rw-r--r-- | Userland/Libraries/LibVT/Terminal.cpp | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibVT/TerminalWidget.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibVT/Terminal.cpp b/Userland/Libraries/LibVT/Terminal.cpp index 27c5e9cf4d..39cf984b7c 100644 --- a/Userland/Libraries/LibVT/Terminal.cpp +++ b/Userland/Libraries/LibVT/Terminal.cpp @@ -1264,7 +1264,7 @@ void Terminal::execute_osc_sequence(OscParameters parameters, u8 last_byte) // FIXME: the split breaks titles containing semicolons. // Should we expose the raw OSC string from the parser? Or join by semicolon? #ifndef KERNEL - m_current_window_title = stringview_ify(1).to_string(); + m_current_window_title = stringview_ify(1).to_deprecated_string(); m_client.set_window_title(m_current_window_title); #endif } diff --git a/Userland/Libraries/LibVT/TerminalWidget.cpp b/Userland/Libraries/LibVT/TerminalWidget.cpp index 039a97b25a..a53d5a6b9a 100644 --- a/Userland/Libraries/LibVT/TerminalWidget.cpp +++ b/Userland/Libraries/LibVT/TerminalWidget.cpp @@ -980,7 +980,7 @@ DeprecatedString TerminalWidget::selected_text() const } } - return builder.to_string(); + return builder.to_deprecated_string(); } int TerminalWidget::first_selection_column_on_row(int row) const @@ -1153,7 +1153,7 @@ void TerminalWidget::drop_event(GUI::DropEvent& event) if (url.scheme() == "file") send_non_user_input(url.path().bytes()); else - send_non_user_input(url.to_string().bytes()); + send_non_user_input(url.to_deprecated_string().bytes()); first = false; } |