diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-10-13 13:06:26 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-10-13 14:24:16 +0000 |
commit | 0f5a7217617e30bfb06991390b4bf673c67ed4aa (patch) | |
tree | 3808db0e23d0fb8ceef37f825559e768be06df89 /tests/manual/scenegraph_lancelot/scenegraph | |
parent | 16154fba86798bd6bbee90eb79a9f3b26cae2fad (diff) |
Tests: Fix single-character string literals.
Use character literals where applicable.
Change-Id: Ib0e618752fbc762a73a0a91c43efab61ef2c9687
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/manual/scenegraph_lancelot/scenegraph')
-rw-r--r-- | tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp b/tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp index 8974f75ecd..b2dd34cca7 100644 --- a/tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp +++ b/tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp @@ -244,7 +244,7 @@ quint16 tst_Scenegraph::checksumFileOrDir(const QString &path) static const QStringList nameFilters = QStringList() << "*.qml" << "*.cpp" << "*.png" << "*.jpg"; quint16 cs = 0; foreach (QString item, QDir(fi.filePath()).entryList(nameFilters, QDir::Dirs | QDir::Files | QDir::NoDotAndDotDot)) - cs ^= checksumFileOrDir(path + "/" + item); + cs ^= checksumFileOrDir(path + QLatin1Char('/') + item); return cs; } return 0; |