diff options
author | hjk <hjk@theqtcompany.com> | 2016-03-18 08:41:30 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2016-03-21 07:27:32 +0000 |
commit | abbd94e4b9273cc1fcd9610ec1d7323cbf6f9866 (patch) | |
tree | f2533681b5cc76953e990f0cf9d07ba973a00c63 /tests/auto/qtcprocess/tst_qtcprocess.cpp | |
parent | fb9cc36e9f261af101ed9667524801c0c2d1d9d7 (diff) |
Make tst_qtcprocess.cpp compilable with default restrictions
Enabling use of QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS
QT_NO_CAST_TO_ASCII QT_RESTRICTED_CAST_FROM_ASCII is straightforward
nowadays.
Change-Id: Ie4928b514049388401493de46e418790bb928a54
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'tests/auto/qtcprocess/tst_qtcprocess.cpp')
-rw-r--r-- | tests/auto/qtcprocess/tst_qtcprocess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qtcprocess/tst_qtcprocess.cpp b/tests/auto/qtcprocess/tst_qtcprocess.cpp index 6e69789e16..d5fbb42a18 100644 --- a/tests/auto/qtcprocess/tst_qtcprocess.cpp +++ b/tests/auto/qtcprocess/tst_qtcprocess.cpp @@ -585,8 +585,8 @@ void tst_QtcProcess::expandMacros_data() << QString::fromLatin1(vals[i].out) << vals[i].os; sprintf(buf, "padded %s: %s", title, vals[i].in); - QTest::newRow(buf) << (sp + QString::fromLatin1(vals[i].in) + sp) - << (sp + QString::fromLatin1(vals[i].out) + sp) + QTest::newRow(buf) << QString(sp + QString::fromLatin1(vals[i].in) + sp) + << QString(sp + QString::fromLatin1(vals[i].out) + sp) << vals[i].os; } } |