diff options
| author | 2018-07-27 23:51:12 -0400 | |
|---|---|---|
| committer | 2018-07-27 23:51:12 -0400 | |
| commit | feda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 (patch) | |
| tree | 1e50f5f666f419143f510d5ded00fe2006b7bd85 /Plugins/JsonExport/jsonexport.cpp | |
| parent | d9aa870e5d509cc7309ab82dd102a937ab58613a (diff) | |
New upstream version 3.2.1+dfsg1upstream/3.2.1+dfsg1
Diffstat (limited to 'Plugins/JsonExport/jsonexport.cpp')
| -rw-r--r-- | Plugins/JsonExport/jsonexport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Plugins/JsonExport/jsonexport.cpp b/Plugins/JsonExport/jsonexport.cpp index 51fd60a..961169e 100644 --- a/Plugins/JsonExport/jsonexport.cpp +++ b/Plugins/JsonExport/jsonexport.cpp @@ -324,8 +324,8 @@ QString JsonExport::escapeString(const QString& str) { QString copy = str; return "\"" + - copy.replace("\"", "\\\"") - .replace("\\", "\\\\") + copy.replace("\\", "\\\\") + .replace("\"", "\\\"") .replace("/", "\\/") .replace("\b", "\\b") .replace("\f", "\\f") |
