LanguageClient: Fix build for older compiler

Amends ed77e10571.

Change-Id: Icd41c65ae308f8862cd9b11ac32f8f8d22e7f6e3
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2019-05-20 10:47:38 +02:00
parent a8b9f8c955
commit 66f05586dd

View File

@@ -538,11 +538,11 @@ public:
if (result.size() == 1) { if (result.size() == 1) {
switch (result.at(0).toLatin1()) { switch (result.at(0).toLatin1()) {
case '\n': case '\n':
return "\\n"; return QString("\\n");
case '\t': case '\t':
return "\\t"; return QString("\\t");
case '\r': case '\r':
return "\\r"; return QString("\\r");
} }
} }
return result; return result;