diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-05-18 20:00:23 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-23 23:30:18 +0200 |
commit | c00bd8d6776e95283831db1c14b7d23ac6be5840 (patch) | |
tree | b91058c2400d219ccbdd51c83684f09375d83c7c /tests/auto/corelib/mimetypes | |
parent | 6d65b2cc8c5d86d2351e27c158e3b18519e1fcb5 (diff) |
Use QStringList::join(QChar) overload where applicable [QtCore]
This is an automated change performing the following replacements:
join\("(.)"\) -> join('\1')
join\(QLatin1String\("(.)"\)\) -> join(QLatin1Char('\1'))
join\(QStringLiteral\("(.)"\)\) -> join(QLatin1Char('\1'))
Change-Id: I81c378ef6aeeada5e116f1394cc9fc67f901ffd6
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/auto/corelib/mimetypes')
-rw-r--r-- | tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.cpp b/tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.cpp index f71ff32779..b731eaf12a 100644 --- a/tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.cpp +++ b/tests/auto/corelib/mimetypes/qmimedatabase/tst_qmimedatabase.cpp @@ -581,7 +581,7 @@ void tst_QMimeDatabase::suffixes() expectedPatterns.sort(); QStringList mimePatterns = mime.globPatterns(); mimePatterns.sort(); - QCOMPARE(mimePatterns.join(QLatin1String(";")), expectedPatterns.join(QLatin1String(";"))); + QCOMPARE(mimePatterns.join(QLatin1Char(';')), expectedPatterns.join(QLatin1Char(';'))); QCOMPARE(mime.preferredSuffix(), preferredSuffix); } |