summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui/styles
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-02-29 23:53:20 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-01 11:02:28 +0100
commite17440586252551c6de169d9141daef1c31a1e7e (patch)
treee7770ee9ec2693c5916015c685f84c2e4df1190b /tests/benchmarks/gui/styles
parent1cd4d6b1819f67b70dd359c7fc43ab06182cc34b (diff)
Make some tests and benchmarks pass with QT_NO_QSTRINGBUILDER
Change-Id: I6c91a613007043d0f26ac11e98353a0b9ce646ae Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/benchmarks/gui/styles')
-rw-r--r--tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp b/tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp
index fcddf5ed90..45acd41749 100644
--- a/tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp
+++ b/tests/benchmarks/gui/styles/qstylesheetstyle/main.cpp
@@ -153,9 +153,9 @@ void tst_qstylesheetstyle::grid_data()
QTest::addColumn<int>("N");
for (int n = 5; n <= 25; n += 5) {
const QByteArray nString = QByteArray::number(n*n);
- QTest::newRow(("simple--" + nString).constData()) << false << false << n;
- QTest::newRow(("events--" + nString).constData()) << true << false << n;
- QTest::newRow(("show--" + nString).constData()) << true << true << n;
+ QTest::newRow(QByteArray("simple--" + nString).constData()) << false << false << n;
+ QTest::newRow(QByteArray("events--" + nString).constData()) << true << false << n;
+ QTest::newRow(QByteArray("show--" + nString).constData()) << true << true << n;
}
}