diff options
-rw-r--r-- | tools/qmlmin/main.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/qmlmin/main.cpp b/tools/qmlmin/main.cpp index 0d6950360f..9500c45915 100644 --- a/tools/qmlmin/main.cpp +++ b/tools/qmlmin/main.cpp @@ -352,13 +352,7 @@ bool Minify::parse(int startToken) if (isIdentChar(lastChar)) assembled += QLatin1Char(' '); - foreach (const QChar &ch, identifier) { - if (isIdentChar(ch)) - assembled += ch; - else { - escape(ch, &assembled); - } - } + assembled += identifier; } else if (yytoken == T_STRING_LITERAL || yytoken == T_MULTILINE_STRING_LITERAL) { assembled += QLatin1Char('"'); |