diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-11-29 14:43:39 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-12-02 21:00:18 +0100 |
commit | c23dcca0a0d768f87c1fa164380f1028ce1ee43d (patch) | |
tree | 57acbba62b2fe366a30abf110910a139f08162b4 /tests/auto/qpixmap/tst_qpixmap.cpp | |
parent | 98fea3ae261313b88cb3f67c7f9d3368e635cd51 (diff) |
Use UTF-16 literals where possible
This should minimize diffs to Qt 6.
Change-Id: I4ba077ebec3b1d76f822b74328ab55235d1ee11a
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Diffstat (limited to 'tests/auto/qpixmap/tst_qpixmap.cpp')
-rw-r--r-- | tests/auto/qpixmap/tst_qpixmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qpixmap/tst_qpixmap.cpp b/tests/auto/qpixmap/tst_qpixmap.cpp index 2791cd2..e16889d 100644 --- a/tests/auto/qpixmap/tst_qpixmap.cpp +++ b/tests/auto/qpixmap/tst_qpixmap.cpp @@ -192,8 +192,8 @@ static bool compareImages(const QImage &actual, const QImage &expected, static inline QString pngFileName(const QString &image, int width, int height) { - return image + QLatin1Char('_') + QString::number(width) - + QLatin1Char('x') + QString::number(height) + QStringLiteral(".png"); + return image + u'_' + QString::number(width) + + u'x' + QString::number(height) + QStringLiteral(".png"); } void tst_QPixmap::toHICON_data() |