diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-01-23 12:09:25 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-02-12 19:39:49 +0000 |
commit | 08a8a6a842d0bd925ff31acfe2d47286ef393a83 (patch) | |
tree | 5f3e0f3c09a0118675b060257923bde13f0fe102 /tests/auto/widgets/kernel/qsizepolicy/tst_qsizepolicy.cpp | |
parent | dee800e9e9f37a1d7c81dd1814550bb167b09832 (diff) |
QtWidgets: assorted migrations to QString::asprintf
Change-Id: I1a9977f52e9ce098944f876bca19669dac44d2c1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/widgets/kernel/qsizepolicy/tst_qsizepolicy.cpp')
-rw-r--r-- | tests/auto/widgets/kernel/qsizepolicy/tst_qsizepolicy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/kernel/qsizepolicy/tst_qsizepolicy.cpp b/tests/auto/widgets/kernel/qsizepolicy/tst_qsizepolicy.cpp index 841fc4e712..6c88f8731b 100644 --- a/tests/auto/widgets/kernel/qsizepolicy/tst_qsizepolicy.cpp +++ b/tests/auto/widgets/kernel/qsizepolicy/tst_qsizepolicy.cpp @@ -155,7 +155,7 @@ static void makeRow(QSizePolicy sp, QSizePolicy::Policy hp, QSizePolicy::Policy int hst, int vst, QSizePolicy::ControlType ct, bool hfw, bool wfh, Qt::Orientations orients) { - QTest::newRow(qPrintable(QString().sprintf("%s-%s-%d-%d-%s-%s-%s", + QTest::newRow(qPrintable(QString::asprintf("%s-%s-%d-%d-%s-%s-%s", PrettyPrint(hp).s(), PrettyPrint(vp).s(), hst, vst, PrettyPrint(ct).s(), hfw ? "true" : "false", wfh ? "true" : "false"))) |