Commit b0df9dc1 authored by Nikita Baryshnikov's avatar Nikita Baryshnikov

DiffEditor: avoid gcc warning

overflow in implicit constant conversion

Change-Id: I8eaf55ab1e2108de44e7aa2dc832e1ee13814d3b
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@theqtcompany.com>
parent f11bc8c6
......@@ -983,7 +983,7 @@ QString Diff::toString() const
{
QString prettyText = text;
// Replace linebreaks with pretty char
prettyText.replace(QLatin1Char('\n'), QLatin1Char(L'\u00b6'));
prettyText.replace(QLatin1Char('\n'), QLatin1Char('\xb6'));
return commandString(command) + QLatin1String(" \"")
+ prettyText + QLatin1String("\"");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment