diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-01-23 12:03:36 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-02-12 19:40:04 +0000 |
commit | 05c38a9111320da311e5993faf12ce8e1f1713e8 (patch) | |
tree | b1ca051511120d113e891333b8918f8d5a4748ef /tests/auto/corelib/tools/qchar | |
parent | abcb5471b75fe9879775ec16f0f12a1e30422789 (diff) |
QtCore: assorted migrations to QString::asprintf
Change-Id: Ie99d3eeeced89dd8336717954fd5ca7117bb20b4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools/qchar')
-rw-r--r-- | tests/auto/corelib/tools/qchar/tst_qchar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qchar/tst_qchar.cpp b/tests/auto/corelib/tools/qchar/tst_qchar.cpp index e729338819..1ca7a213ad 100644 --- a/tests/auto/corelib/tools/qchar/tst_qchar.cpp +++ b/tests/auto/corelib/tools/qchar/tst_qchar.cpp @@ -108,7 +108,7 @@ void tst_QChar::operators_data() for (int i = 0; i < 3; ++i) { for (int j = 0; j < 3; ++j) - QTest::newRow(qPrintable(QString().sprintf("'\\%d' (op) '\\%d'", i, j))) + QTest::newRow(qPrintable(QString::asprintf("'\\%d' (op) '\\%d'", i, j))) << QChar(ushort(i)) << QChar(ushort(j)); } } |