diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2020-06-02 17:54:27 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-06-10 10:05:55 +0200 |
| commit | cd9f15bc1a4f1294d3387fb6358ba5c809dbb150 (patch) | |
| tree | 27e9fe2ada9b290e162b0d1912fd937a1abf7788 /src/quick/util/qquickanimation.cpp | |
| parent | ac6b0672af0f71a79b936b6e5c90ef0d2ca98cc3 (diff) | |
Quick: Use unicode character literals
This avoid warnings on conversion to QChar.
Change-Id: Idad6a35bb47b029688c5752a03ef83cb5b63373e
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/util/qquickanimation.cpp')
| -rw-r--r-- | src/quick/util/qquickanimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/util/qquickanimation.cpp b/src/quick/util/qquickanimation.cpp index 6a8fc088f1..ded353a90a 100644 --- a/src/quick/util/qquickanimation.cpp +++ b/src/quick/util/qquickanimation.cpp @@ -1007,7 +1007,7 @@ void QQuickScriptActionPrivate::debugAction(QDebug d, int indentLevel) const if (!scriptStr.isEmpty()) { QQmlExpression expr(scriptStr); - QByteArray ind(indentLevel, ' '); + QByteArray ind(indentLevel, u' '); QString exprStr = expr.expression(); int endOfFirstLine = exprStr.indexOf(u'\n'); d << "\n" << ind.constData() << exprStr.leftRef(endOfFirstLine); |
