diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-05-31 15:27:53 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-05-31 15:49:14 +0200 |
commit | af2c742f531e6d998c69286ad162b60b42c842c1 (patch) | |
tree | 7628dcb8538b7d8fc0adf081248e0cf6e566762f /platform/x11 | |
parent | 29645c81476cb2f843f36070533281ba275f9400 (diff) |
Fix and expose String::strip_escapes(), use it in LineEdit paste
Supersedes #27736.
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/os_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp index f034b2389b..311b42be22 100644 --- a/platform/x11/os_x11.cpp +++ b/platform/x11/os_x11.cpp @@ -2378,7 +2378,7 @@ void OS_X11::process_xevents() { Vector<String> files = String((char *)p.data).split("\n", false); for (int i = 0; i < files.size(); i++) { - files.write[i] = files[i].replace("file://", "").http_unescape().strip_escapes(); + files.write[i] = files[i].replace("file://", "").http_unescape().strip_edges(); } main_loop->drop_files(files); |