summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-02 16:32:26 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-04 12:45:52 +0200
commit575ede308e7a237980c3c1ba50a7e80941cd34c6 (patch)
tree8114a3f5c5719d81ecf800a5ccaca9335bac6b68 /tests/benchmarks/gui
parent712ca9d95a92d62eda809c959998313413516aa9 (diff)
Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtGui]
This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: I2850033159508ebb1ff7564e15b99a146dbee94c Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/benchmarks/gui')
-rw-r--r--tests/benchmarks/gui/image/blendbench/main.cpp2
-rw-r--r--tests/benchmarks/gui/painting/qpainter/tst_qpainter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/gui/image/blendbench/main.cpp b/tests/benchmarks/gui/image/blendbench/main.cpp
index 82d7d4bd62..75e8e82f26 100644
--- a/tests/benchmarks/gui/image/blendbench/main.cpp
+++ b/tests/benchmarks/gui/image/blendbench/main.cpp
@@ -126,7 +126,7 @@ void BlendBench::blendBench_data()
for (int brush = ImageBrush; brush <= SolidBrush; ++brush)
for (int mode = first; mode < limit; ++mode)
QTest::newRow(QString("brush=%1; mode=%2")
- .arg(brushTypes[brush]).arg(compositionModes[mode]).toAscii().data())
+ .arg(brushTypes[brush]).arg(compositionModes[mode]).toLatin1().data())
<< brush << mode;
}
diff --git a/tests/benchmarks/gui/painting/qpainter/tst_qpainter.cpp b/tests/benchmarks/gui/painting/qpainter/tst_qpainter.cpp
index e5f09b9c04..9529ff6aa6 100644
--- a/tests/benchmarks/gui/painting/qpainter/tst_qpainter.cpp
+++ b/tests/benchmarks/gui/painting/qpainter/tst_qpainter.cpp
@@ -490,7 +490,7 @@ void tst_QPainter::setupBrushes()
// it != m_brushes.constEnd(); ++it) {
// for (int w=2; w<1025; w*=2) {
// for (int h=2; h<1025; h*=2) {
-// QTest::newRow(QString("brush=%1; size=[%2,%3]").arg(it.key()).arg(w).arg(h).toAscii().data())
+// QTest::newRow(QString("brush=%1; size=[%2,%3]").arg(it.key()).arg(w).arg(h).toLatin1().data())
// << *it << QSize(w, h);
// }
// }